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.001829/0.001829, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001477/0.001477, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.002662/0.002662, allocations: 72.75 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2577, allocations: 53.37 MB / 432 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004616/0.2623, allocations: 3.13 MB / 435.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2638, allocations: 0.8026 MB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.264, allocations: 11.94 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.2641, allocations: 51.5 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2644, allocations: 123 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2647, allocations: 127.8 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.2652, allocations: 458.2 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.2654, allocations: 99.45 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.2658, allocations: 187.3 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.266, allocations: 191.2 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.2661, allocations: 44 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.2661, allocations: 48 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.2662, allocations: 87.69 kB / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.2664, allocations: 199.1 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.267, allocations: 0.495 MB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.267, allocations: 0 / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.267, allocations: 0 / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.267, allocations: 0 / 438 MB, free: 0.8516 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.001345/0.2683, allocations: 0.6433 MB / 438.6 MB, free: 172 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2684, allocations: 8.031 kB / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.2685, allocations: 70.66 kB / 438.7 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.2685, allocations: 40.7 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.269, allocations: 249 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.269, allocations: 21.03 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.2691, allocations: 40.09 kB / 439 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.2698, allocations: 353 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2698, allocations: 4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.2699, allocations: 8 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2699, allocations: 12 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.2707, allocations: 302.4 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.2731, allocations: 1.222 MB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.2738, allocations: 250.3 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.2743, allocations: 132.8 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.2743, allocations: 4 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.2748, allocations: 201.1 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.2748, allocations: 0 / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001976/0.2768, allocations: 0.5681 MB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.2769, allocations: 106.8 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.2772, allocations: 300.4 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2772, allocations: 25.7 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2774, allocations: 216.3 kB / 442.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.2775, allocations: 55.55 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2776, allocations: 65.64 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2778, allocations: 338.8 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2781, allocations: 112.1 kB / 443.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.2786, allocations: 217.3 kB / 443.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.2793, allocations: 346.9 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.2793, allocations: 4.094 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001241/0.2806, allocations: 487.8 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.2806, allocations: 33.7 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2806, allocations: 4.062 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.2809, allocations: 64.81 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.2812, allocations: 67.89 kB / 444.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.2835, allocations: 1.536 MB / 446 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.2838, allocations: 55.75 kB / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2839, allocations: 12 kB / 446.1 MB, free: 8.285 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.0001872/0.284, allocations: 161.8 kB / 446.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2841, allocations: 31.75 kB / 446.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.2841, allocations: 34.14 kB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2841, allocations: 0 / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2841, allocations: 0 / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2841, allocations: 0 / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.2857, allocations: 0.7721 MB / 447 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2857, allocations: 0 / 447 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.2859, allocations: 43.95 kB / 447.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.2861, allocations: 60.86 kB / 447.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2862, allocations: 11.97 kB / 447.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.2882, allocations: 1.525 MB / 448.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2882, allocations: 0 / 448.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2896, allocations: 0.5658 MB / 449.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.2897, allocations: 35.77 kB / 449.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.2897, allocations: 8 kB / 449.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.29, allocations: 39.95 kB / 449.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2901, allocations: 15.97 kB / 449.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2901, allocations: 8 kB / 449.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.2903, allocations: 211.1 kB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2903, allocations: 0 / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.2907, allocations: 83.88 kB / 449.6 MB, free: 4.488 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.001808/0.2925, allocations: 1.104 MB / 450.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2936, allocations: 440.8 kB / 451.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2936, allocations: 0 / 451.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.2941, allocations: 242.5 kB / 451.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2945, allocations: 56.89 kB / 451.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007197/0.3017, allocations: 3.657 MB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.3022, allocations: 0.7717 MB / 455.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.3023, allocations: 38.94 kB / 455.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3025, allocations: 91.41 kB / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3025, allocations: 0 / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.3399, allocations: 7.464 MB / 463.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.35, allocations: 2.75 kB / 463.5 MB, free: 6.555 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.786364801228046] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder.c.v', 'firstOrder.opAmp.out.v', 'firstOrder.opAmp.out.i'] 12.44852813379839 12.461502046 12.191497854 Calling exit ...