Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002309/0.002309, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.738e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09458, allocations: 47.59 MB / 369.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/0.5045, allocations: 77.63 MB / 446.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/0.505, allocations: 74.02 kB / 446.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.5302, allocations: 4.11 MB / 450.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5303, allocations: 0 / 450.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.839e-05/0.5303, allocations: 8 kB / 450.9 MB, free: 12 MB / 330.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.001266/0.5316, allocations: 0.494 MB / 451.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.5317, allocations: 12.03 kB / 451.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5318, allocations: 31.61 kB / 451.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.5324, allocations: 242.8 kB / 451.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.5324, allocations: 23.34 kB / 451.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.5325, allocations: 25.31 kB / 451.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.5333, allocations: 207.1 kB / 451.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5333, allocations: 0 / 451.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.5334, allocations: 7.312 kB / 452 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5335, allocations: 8 kB / 452 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.5342, allocations: 152.4 kB / 452.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.5387, allocations: 0.9645 MB / 453.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.5403, allocations: 180.7 kB / 453.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.541, allocations: 106.8 kB / 453.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.541, allocations: 7.953 kB / 453.4 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.5411, allocations: 37.94 kB / 453.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 4.428e-06/0.5411, allocations: 0 / 453.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001399/0.5425, allocations: 228.1 kB / 453.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.5426, allocations: 63.33 kB / 453.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.5431, allocations: 205.5 kB / 453.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.5432, allocations: 25.7 kB / 453.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5433, allocations: 222.2 kB / 454.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.5434, allocations: 50.14 kB / 454.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.5435, allocations: 3.875 kB / 454.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5437, allocations: 330 kB / 454.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.5439, allocations: 45.56 kB / 454.5 MB, free: 8.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.5441, allocations: 94.19 kB / 454.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.5444, allocations: 53.53 kB / 454.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5444, allocations: 4 kB / 454.7 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001223/0.5456, allocations: 285.4 kB / 455 MB, free: 8.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.5459, allocations: 0.6201 MB / 455.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.546, allocations: 0 / 455.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.5464, allocations: 53.02 kB / 455.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.5467, allocations: 39.98 kB / 455.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.5487, allocations: 0.6685 MB / 456.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.55, allocations: 27.19 kB / 456.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.5502, allocations: 11.06 kB / 456.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5503, allocations: 4 kB / 456.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007406/0.551, allocations: 163.5 kB / 456.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5511, allocations: 0 / 456.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.5513, allocations: 32.09 kB / 456.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.5517, allocations: 47.91 kB / 456.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.5539, allocations: 1.304 MB / 457.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5541, allocations: 15.41 kB / 458 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5542, allocations: 10.88 kB / 458 MB, free: 5.27 MB / 330.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: 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.0002249/0.5544, allocations: 114.9 kB / 458.1 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5546, allocations: 19.89 kB / 458.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.5547, allocations: 29.06 kB / 458.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.5547, allocations: 4 kB / 458.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5548, allocations: 0 / 458.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5548, allocations: 4.062 kB / 458.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.5567, allocations: 0.5944 MB / 458.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5568, allocations: 7.938 kB / 458.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.557, allocations: 19.98 kB / 458.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.5572, allocations: 52.27 kB / 458.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.5573, allocations: 7.812 kB / 458.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.5606, allocations: 1.758 MB / 460.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5606, allocations: 0 / 460.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.5617, allocations: 392.3 kB / 461 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5618, allocations: 100.8 kB / 461.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.5619, allocations: 7.75 kB / 461.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.5622, allocations: 24.05 kB / 461.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.5623, allocations: 15.55 kB / 461.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5623, allocations: 0 / 461.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.5626, allocations: 161.9 kB / 461.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5626, allocations: 0 / 461.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.5633, allocations: 111.2 kB / 461.4 MB, free: 1.988 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.0002012/0.5635, allocations: 107.2 kB / 461.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.5651, allocations: 415.4 kB / 461.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5651, allocations: 0 / 461.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009254/0.566, allocations: 266.3 kB / 462.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.5665, allocations: 36.3 kB / 462.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.5704, allocations: 0.6983 MB / 462.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.5708, allocations: 0.7523 MB / 463.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.5709, allocations: 15.44 kB / 463.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5709, allocations: 0 / 463.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of Templates: time 0.008336/0.5793, allocations: 3.353 MB / 467 MB, free: 12.42 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches