Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.0009304/0.0009304, allocations: 180 kB / 8.478 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.042/1.042, allocations: 205.2 MB / 214.1 MB, free: 5.109 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.0008581/0.000858, allocations: 83.72 kB / 262.1 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1528/0.1537, allocations: 52.99 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06501/0.2187, allocations: 47.57 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.4234, allocations: 76.9 MB / 439.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001561/0.4236, allocations: 73.73 kB / 439.6 MB, free: 10.95 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.01071/0.4343, allocations: 4.31 MB / 443.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4344, allocations: 7.75 kB / 443.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4344, allocations: 31.73 kB / 444 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4348, allocations: 259.5 kB / 444.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4348, allocations: 7.531 kB / 444.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4348, allocations: 15.41 kB / 444.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/0.4351, allocations: 141.8 kB / 444.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.4354, allocations: 168.4 kB / 444.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4354, allocations: 0 / 444.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4354, allocations: 0.9375 kB / 444.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4354, allocations: 3.969 kB / 444.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.437, allocations: 0.9306 MB / 445.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.4373, allocations: 149.1 kB / 445.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.4375, allocations: 112.2 kB / 445.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.4376, allocations: 4.328 kB / 445.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4376, allocations: 34.02 kB / 445.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.4376, allocations: 0 / 445.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006205/0.4382, allocations: 225.8 kB / 446 MB, free: 9.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.4383, allocations: 55.25 kB / 446 MB, free: 9.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4384, allocations: 177.4 kB / 446.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4384, allocations: 25.7 kB / 446.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.4385, allocations: 160.7 kB / 446.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.4385, allocations: 51.05 kB / 446.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.4385, allocations: 0 / 446.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.4386, allocations: 334.3 kB / 446.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.4387, allocations: 46.56 kB / 446.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.4387, allocations: 90.33 kB / 446.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.4388, allocations: 60.22 kB / 447 MB, free: 8.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4388, allocations: 0 / 447 MB, free: 8.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005303/0.4394, allocations: 275.7 kB / 447.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.4395, allocations: 0.612 MB / 447.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4395, allocations: 0 / 447.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.4397, allocations: 51.44 kB / 447.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4398, allocations: 43.69 kB / 447.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003069/0.4402, allocations: 0.5943 MB / 448.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.4403, allocations: 21.39 kB / 448.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4404, allocations: 11.69 kB / 448.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.4404, allocations: 7.875 kB / 448.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002161/0.4406, allocations: 141.1 kB / 448.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4406, allocations: 4.641 kB / 448.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.517e-05/0.4407, allocations: 22.55 kB / 448.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4408, allocations: 45.11 kB / 448.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006229/0.4415, allocations: 1.262 MB / 450 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4416, allocations: 12.23 kB / 450.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4416, allocations: 6.75 kB / 450.1 MB, free: 6.105 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.4417, allocations: 113.4 kB / 450.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.4418, allocations: 15.5 kB / 450.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.4418, allocations: 25.41 kB / 450.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4418, allocations: 0 / 450.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.4418, allocations: 0 / 450.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4419, allocations: 5.469 kB / 450.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.4426, allocations: 0.5381 MB / 450.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4426, allocations: 4.547 kB / 450.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4427, allocations: 26.72 kB / 450.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.4429, allocations: 50.12 kB / 450.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4429, allocations: 4.422 kB / 450.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.4446, allocations: 1.732 MB / 452.6 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4447, allocations: 0 / 452.6 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005372/0.4452, allocations: 380.5 kB / 452.9 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007006/0.4459, allocations: 0.7954 MB / 453.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.446, allocations: 96.59 kB / 453.8 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.446, allocations: 3.984 kB / 453.8 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4462, allocations: 23.22 kB / 453.9 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.4462, allocations: 15.39 kB / 453.9 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4463, allocations: 7.688 kB / 453.9 MB, free: 19.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.947e-05/0.4464, allocations: 135 kB / 454 MB, free: 19.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001543/0.4479, allocations: 108.3 kB / 454.1 MB, free: 19.41 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001364/0.4481, allocations: 106.5 kB / 454.2 MB, free: 19.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.4485, allocations: 315.7 kB / 454.5 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4485, allocations: 0 / 454.5 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.449, allocations: 251.6 kB / 454.8 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.4492, allocations: 30.88 kB / 454.8 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.4512, allocations: 0.7038 MB / 455.5 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.4515, allocations: 0.7605 MB / 456.3 MB, free: 17.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4515, allocations: 0 / 456.3 MB, free: 17.98 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat