Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 179.9 kB / 8.474 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 94.23 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1594/0.1603, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06703/0.2273, allocations: 47.57 MB / 362.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.4457, allocations: 78.56 MB / 441.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.446, allocations: 76.97 kB / 441.3 MB, free: 10.69 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.01696/0.463, allocations: 6.412 MB / 447.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.463, allocations: 15.19 kB / 447.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.4631, allocations: 34.97 kB / 447.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4634, allocations: 288.5 kB / 448 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4635, allocations: 7.719 kB / 448 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4635, allocations: 11.53 kB / 448 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002971/0.4638, allocations: 168.3 kB / 448.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.4641, allocations: 179.3 kB / 448.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4641, allocations: 0 / 448.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.4642, allocations: 0 / 448.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4642, allocations: 7.781 kB / 448.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.4657, allocations: 0.9241 MB / 449.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.466, allocations: 166.2 kB / 449.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4662, allocations: 91.34 kB / 449.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.4663, allocations: 7.734 kB / 449.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.4664, allocations: 141.2 kB / 449.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.4664, allocations: 3.984 kB / 449.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004729/0.4669, allocations: 215.3 kB / 449.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.467, allocations: 106.7 kB / 450 MB, free: 8.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.4672, allocations: 212 kB / 450.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4672, allocations: 25.7 kB / 450.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.4673, allocations: 166.5 kB / 450.4 MB, free: 7.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4673, allocations: 57.27 kB / 450.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.4673, allocations: 3.938 kB / 450.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.4674, allocations: 332.2 kB / 450.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.4675, allocations: 54.77 kB / 450.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4676, allocations: 135.4 kB / 451 MB, free: 7.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.4677, allocations: 63.36 kB / 451.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4677, allocations: 0 / 451.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004462/0.4682, allocations: 279.4 kB / 451.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.4683, allocations: 0.6076 MB / 451.9 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4683, allocations: 3.906 kB / 451.9 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.4685, allocations: 30.06 kB / 452 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.4687, allocations: 73.08 kB / 452 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000269/0.469, allocations: 0.5629 MB / 452.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4693, allocations: 50.86 kB / 452.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4694, allocations: 11.06 kB / 452.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/0.4694, allocations: 6.844 kB / 452.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002725/0.4697, allocations: 174.1 kB / 452.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.4697, allocations: 7.812 kB / 452.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-05/0.4697, allocations: 19.52 kB / 452.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.47, allocations: 73.58 kB / 452.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006156/0.4706, allocations: 1.316 MB / 454.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.4709, allocations: 50.81 kB / 454.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4709, allocations: 10.86 kB / 454.3 MB, free: 4.664 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4711, allocations: 125.6 kB / 454.4 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.4711, allocations: 23.34 kB / 454.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.4711, allocations: 23.92 kB / 454.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4712, allocations: 3.625 kB / 454.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4712, allocations: 0 / 454.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4712, allocations: 0 / 454.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.4719, allocations: 0.5772 MB / 455.1 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4719, allocations: 3.906 kB / 455.1 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4721, allocations: 61.89 kB / 455.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.365e-05/0.4722, allocations: 35.44 kB / 455.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4722, allocations: 0 / 455.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.4731, allocations: 1.317 MB / 456.5 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4731, allocations: 0 / 456.5 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005034/0.4736, allocations: 409.7 kB / 456.9 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006736/0.4743, allocations: 0.8438 MB / 457.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4744, allocations: 100.7 kB / 457.8 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.4745, allocations: 7.625 kB / 457.8 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.4748, allocations: 38.75 kB / 457.9 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.4748, allocations: 18.81 kB / 457.9 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4749, allocations: 7.828 kB / 457.9 MB, free: 17.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001544/0.475, allocations: 168.8 kB / 458.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001623/0.4766, allocations: 127.6 kB / 458.2 MB, free: 17.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.4768, allocations: 112 kB / 458.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.4775, allocations: 417 kB / 458.7 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4775, allocations: 0 / 458.7 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.4777, allocations: 184.9 kB / 458.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.478, allocations: 41.95 kB / 458.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/0.4788, allocations: 372.2 kB / 459.3 MB, free: 17.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.4792, allocations: 0.7908 MB / 460.1 MB, free: 16.42 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4793, allocations: 0 / 460.1 MB, free: 16.42 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat