Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, allocations: 112.3 kB / 20.22 MB, free: 1.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 215.5 kB / 23.48 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 257 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 377.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2831, allocations: 53.32 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004598/0.2877, allocations: 3.115 MB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2892, allocations: 0.8143 MB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2893, allocations: 11.94 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2895, allocations: 51.5 kB / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.2897, allocations: 119 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2901, allocations: 123.8 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.2906, allocations: 466.2 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.2908, allocations: 102.9 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.2911, allocations: 179.4 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2913, allocations: 191.1 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.2914, allocations: 44 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.2915, allocations: 48 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.2916, allocations: 87.69 kB / 435.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2918, allocations: 195.1 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.2923, allocations: 0.4908 MB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2923, allocations: 0 / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2923, allocations: 3.938 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2923, allocations: 4 kB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001359/0.2937, allocations: 0.7146 MB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2937, allocations: 11.97 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.498e-05/0.2938, allocations: 62.72 kB / 437.2 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.2939, allocations: 40.7 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.2944, allocations: 310.9 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.2944, allocations: 28.92 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.2944, allocations: 32.12 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.2952, allocations: 347.6 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2952, allocations: 0 / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2952, allocations: 12 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2953, allocations: 8 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.2961, allocations: 306 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.2982, allocations: 1.264 MB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.2991, allocations: 327.5 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.2995, allocations: 132.8 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2995, allocations: 3.984 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.3, allocations: 193.8 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3, allocations: 0 / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002118/0.3021, allocations: 0.6434 MB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.3022, allocations: 106.8 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.3025, allocations: 303.2 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3026, allocations: 29.7 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3027, allocations: 204.4 kB / 441.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.3028, allocations: 63.47 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.3029, allocations: 61.59 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.303, allocations: 338.8 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3034, allocations: 116.2 kB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.3039, allocations: 226.8 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.3047, allocations: 335.6 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3047, allocations: 0 / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001258/0.3059, allocations: 494 kB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.306, allocations: 40.19 kB / 443.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.306, allocations: 4 kB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.3063, allocations: 64.88 kB / 443.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.3066, allocations: 67.98 kB / 443.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.309, allocations: 1.632 MB / 444.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3093, allocations: 63.83 kB / 444.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3093, allocations: 12 kB / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.3095, allocations: 149.8 kB / 445.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3096, allocations: 31.75 kB / 445.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.3096, allocations: 38.19 kB / 445.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3096, allocations: 0 / 445.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3096, allocations: 4 kB / 445.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3096, allocations: 3.984 kB / 445.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3112, allocations: 0.7914 MB / 446 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3112, allocations: 0 / 446 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3114, allocations: 55.92 kB / 446 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.3117, allocations: 60.83 kB / 446.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3117, allocations: 3.984 kB / 446.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.3137, allocations: 1.633 MB / 447.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3137, allocations: 0 / 447.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.3151, allocations: 0.5632 MB / 448.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3152, allocations: 112.9 kB / 448.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3153, allocations: 0 / 448.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3155, allocations: 35.95 kB / 448.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3156, allocations: 28.03 kB / 448.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3156, allocations: 0 / 448.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3159, allocations: 214 kB / 448.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3159, allocations: 0 / 448.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.3163, allocations: 75.89 kB / 448.7 MB, free: 4.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/0.3181, allocations: 1.119 MB / 449.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.319, allocations: 434.3 kB / 450.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.319, allocations: 128 / 450.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.3195, allocations: 234.5 kB / 450.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3199, allocations: 64.78 kB / 450.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.327, allocations: 3.671 MB / 454.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.3274, allocations: 0.76 MB / 455 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3275, allocations: 30.97 kB / 455 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3277, allocations: 95.41 kB / 455.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3277, allocations: 0 / 455.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.3639, allocations: 7.308 MB / 462.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.17, allocations: 3.859 kB / 462.4 MB, free: 6.27 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.445404514903203] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder.c.v', 'firstOrder.opAmp.out.v', 'firstOrder.opAmp.out.i'] 12.269229219993576 12.297963159 12.000118589 Calling exit ...