Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.001028/0.001028, allocations: 179.4 kB / 8.478 MB, free: 1.871 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.062/1.062, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008893/0.0008892, allocations: 85.98 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1558/0.1567, allocations: 52.98 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06374/0.2205, allocations: 47.58 MB / 362.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.4311, allocations: 78.41 MB / 441.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4314, allocations: 79.64 kB / 441.1 MB, free: 10.6 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0155/0.4469, allocations: 5.78 MB / 446.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.447, allocations: 11.53 kB / 446.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.4471, allocations: 27.38 kB / 447 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.4474, allocations: 266.6 kB / 447.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4475, allocations: 7.812 kB / 447.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.4475, allocations: 15.56 kB / 447.2 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002815/0.4478, allocations: 141.2 kB / 447.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4481, allocations: 165.5 kB / 447.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4481, allocations: 0 / 447.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4481, allocations: 7.906 kB / 447.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4481, allocations: 3.844 kB / 447.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.4495, allocations: 0.8506 MB / 448.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4499, allocations: 145.6 kB / 448.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.45, allocations: 52.69 kB / 448.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.45, allocations: 3.844 kB / 448.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.4501, allocations: 109.3 kB / 448.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.4502, allocations: 0 / 448.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00024/0.4504, allocations: 117.8 kB / 448.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.4504, allocations: 96.44 kB / 448.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4506, allocations: 200.7 kB / 449.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4507, allocations: 29.45 kB / 449.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.4507, allocations: 146.3 kB / 449.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.4508, allocations: 40.27 kB / 449.3 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.4508, allocations: 3.938 kB / 449.3 MB, free: 8.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.4508, allocations: 332 kB / 449.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.4509, allocations: 46.69 kB / 449.7 MB, free: 7.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.451, allocations: 103.3 kB / 449.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.4511, allocations: 45.2 kB / 449.8 MB, free: 7.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4512, allocations: 4.031 kB / 449.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002826/0.4514, allocations: 188.4 kB / 450 MB, free: 7.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.4516, allocations: 0.6112 MB / 450.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4516, allocations: 3.875 kB / 450.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4516, allocations: 4 kB / 450.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4519, allocations: 70.14 kB / 450.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4519, allocations: 3.875 kB / 450.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4522, allocations: 53.94 kB / 450.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.4522, allocations: 3.938 kB / 450.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/0.4522, allocations: 3.875 kB / 450.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001924/0.4524, allocations: 129.5 kB / 450.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.4524, allocations: 0 / 450.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.4524, allocations: 3.875 kB / 450.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.4526, allocations: 58.22 kB / 451 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.4526, allocations: 7.719 kB / 451 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.4529, allocations: 34.94 kB / 451 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4529, allocations: 11.38 kB / 451 MB, free: 6.875 MB / 314.7 MB 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 (22): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.453, allocations: 120.9 kB / 451.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.453, allocations: 19.34 kB / 451.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.4531, allocations: 20.44 kB / 451.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4531, allocations: 3.906 kB / 451.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4531, allocations: 3.812 kB / 451.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4531, allocations: 3.984 kB / 451.2 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4533, allocations: 239.7 kB / 451.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4533, allocations: 0 / 451.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.4535, allocations: 61.98 kB / 451.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4535, allocations: 3.938 kB / 451.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4535, allocations: 0 / 451.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4536, allocations: 7.875 kB / 451.5 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4536, allocations: 0 / 451.5 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002723/0.4538, allocations: 216.5 kB / 451.7 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003554/0.4542, allocations: 0.6423 MB / 452.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.4542, allocations: 95.52 kB / 452.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.4543, allocations: 7.859 kB / 452.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4545, allocations: 35.25 kB / 452.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4546, allocations: 22.09 kB / 452.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4546, allocations: 4 kB / 452.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.517e-05/0.4547, allocations: 149.3 kB / 452.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001483/0.4562, allocations: 116.5 kB / 452.8 MB, free: 5.711 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001118/0.4563, allocations: 98.31 kB / 452.9 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.4567, allocations: 253.1 kB / 453.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4567, allocations: 0.75 kB / 453.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.4568, allocations: 56.39 kB / 453.2 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.457, allocations: 31 kB / 453.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.4577, allocations: 322.8 kB / 453.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.4579, allocations: 0.7716 MB / 454.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4579, allocations: 0 / 454.3 MB, free: 4.598 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat