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.001901/0.001901, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.359/3.359, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.00109/0.00109, allocations: 92.95 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005924/0.0005929, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4994, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.6691, allocations: 77.78 MB / 453.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005136/0.6697, allocations: 83.95 kB / 453.6 MB, free: 2.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.6868, allocations: 4.122 MB / 457.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.691e-06/0.6869, allocations: 0 / 457.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.285e-05/0.687, allocations: 8 kB / 457.7 MB, free: 14.64 MB / 346.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.001269/0.6882, allocations: 0.5186 MB / 458.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.6883, allocations: 12.03 kB / 458.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.6884, allocations: 24.66 kB / 458.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.689, allocations: 256.9 kB / 458.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.689, allocations: 12.94 kB / 458.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.6891, allocations: 24.38 kB / 458.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.6898, allocations: 233.4 kB / 458.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.6899, allocations: 192 / 458.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.6899, allocations: 15.94 kB / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.69, allocations: 4 kB / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.6906, allocations: 186.2 kB / 459 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.693, allocations: 0.971 MB / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.694, allocations: 226.7 kB / 460.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.6944, allocations: 120.8 kB / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.6945, allocations: 3.938 kB / 460.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.6945, allocations: 46.44 kB / 460.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 4.268e-06/0.6946, allocations: 0 / 460.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.00281/0.6974, allocations: 0.6313 MB / 461 MB, free: 11.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.6975, allocations: 59.34 kB / 461 MB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.6979, allocations: 227.1 kB / 461.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.698, allocations: 25.7 kB / 461.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.6982, allocations: 167.8 kB / 461.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.6983, allocations: 55.25 kB / 461.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.6983, allocations: 4 kB / 461.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.6985, allocations: 330.8 kB / 461.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.6988, allocations: 63.97 kB / 461.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.6991, allocations: 116.4 kB / 462 MB, free: 10.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.6997, allocations: 192.4 kB / 462.2 MB, free: 9.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.6997, allocations: 0 / 462.2 MB, free: 9.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001373/0.7011, allocations: 362.4 kB / 462.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.7014, allocations: 134.2 kB / 462.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7014, allocations: 0 / 462.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.7021, allocations: 88.8 kB / 462.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.7023, allocations: 39.92 kB / 462.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.7073, allocations: 1.955 MB / 464.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.7076, allocations: 31.77 kB / 464.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.7077, allocations: 8 kB / 464.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7077, allocations: 4 kB / 464.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005061/0.7082, allocations: 174.8 kB / 465 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7082, allocations: 256 / 465 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.7084, allocations: 29.84 kB / 465 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.7087, allocations: 43.91 kB / 465 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.7102, allocations: 1.304 MB / 466.4 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.7104, allocations: 19.83 kB / 466.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.7104, allocations: 8 kB / 466.4 MB, free: 5.371 MB / 346.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 () * Number of clocked 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.0003168/0.7107, allocations: 209.1 kB / 466.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.7108, allocations: 27.83 kB / 466.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.7109, allocations: 17.53 kB / 466.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.7109, allocations: 7.984 kB / 466.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7109, allocations: 64 / 466.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.711, allocations: 8 kB / 466.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.7128, allocations: 0.6511 MB / 467.3 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7128, allocations: 0 / 467.3 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.713, allocations: 23.98 kB / 467.3 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.7134, allocations: 84.8 kB / 467.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.7134, allocations: 8 kB / 467.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.7176, allocations: 1.94 MB / 469.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.7176, allocations: 4 kB / 469.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.7191, allocations: 456 kB / 469.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.7193, allocations: 100.8 kB / 469.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.7193, allocations: 11.94 kB / 469.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.7197, allocations: 20.05 kB / 469.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.7197, allocations: 15.98 kB / 469.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.7198, allocations: 7.938 kB / 470 MB, free: 1.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.72, allocations: 160.6 kB / 470.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.72, allocations: 0 / 470.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001071/0.7211, allocations: 119.7 kB / 470.2 MB, free: 1.285 MB / 346.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 () * Number of clocked 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.0002687/0.7214, allocations: 111.2 kB / 470.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006015/0.7274, allocations: 0.556 MB / 470.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7275, allocations: 0 / 470.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009284/0.7284, allocations: 289.5 kB / 471.2 MB, free: 296 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.7292, allocations: 36.64 kB / 471.2 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.7341, allocations: 0.9624 MB / 472.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.7349, allocations: 0.7407 MB / 472.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.735, allocations: 19.44 kB / 472.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-06/0.735, allocations: 0 / 472.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Templates: time 0.0196/0.7546, allocations: 3.483 MB / 476.4 MB, free: 10.98 MB / 362.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) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:c.v,opAmp.out.i,opAmp.out.v,time