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: 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_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_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.00132/0.00132, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.0007688/0.0007688, allocations: 86.41 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003358, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3672, allocations: 77.78 MB / 454.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.3676, allocations: 83.95 kB / 454.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.3789, allocations: 4.127 MB / 459 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.212e-06/0.3789, allocations: 0 / 459 MB, free: 14.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.379, allocations: 11.94 kB / 459 MB, free: 14.57 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.0008731/0.3798, allocations: 0.5186 MB / 459.6 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3799, allocations: 8.031 kB / 459.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.38, allocations: 24.66 kB / 459.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3803, allocations: 256.9 kB / 459.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3804, allocations: 12.94 kB / 459.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.3804, allocations: 24.38 kB / 459.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.3809, allocations: 233.4 kB / 460.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3809, allocations: 192 / 460.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.3809, allocations: 11.94 kB / 460.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.381, allocations: 4 kB / 460.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.3814, allocations: 194.2 kB / 460.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3831, allocations: 0.9671 MB / 461.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.3837, allocations: 222.7 kB / 461.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.3841, allocations: 128.7 kB / 461.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3841, allocations: 4 kB / 461.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3841, allocations: 42.44 kB / 461.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3841, allocations: 4 kB / 461.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001873/0.386, allocations: 0.6233 MB / 462.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3861, allocations: 63.28 kB / 462.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3863, allocations: 223.1 kB / 462.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3864, allocations: 29.7 kB / 462.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3865, allocations: 167.8 kB / 462.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.3865, allocations: 55.25 kB / 462.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.3866, allocations: 8 kB / 462.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3867, allocations: 326.8 kB / 463.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3869, allocations: 63.97 kB / 463.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3871, allocations: 116.4 kB / 463.3 MB, free: 10 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.3874, allocations: 192.9 kB / 463.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3875, allocations: 0 / 463.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008176/0.3883, allocations: 362.4 kB / 463.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3884, allocations: 134.2 kB / 464 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3884, allocations: 0 / 464 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.3888, allocations: 88.8 kB / 464.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.389, allocations: 43.91 kB / 464.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.3918, allocations: 1.955 MB / 466.1 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.392, allocations: 23.78 kB / 466.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.392, allocations: 12 kB / 466.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.392, allocations: 4 kB / 466.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003022/0.3923, allocations: 174.5 kB / 466.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3924, allocations: 4 kB / 466.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.697e-05/0.3924, allocations: 25.84 kB / 466.3 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3926, allocations: 47.91 kB / 466.4 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009218/0.3935, allocations: 1.304 MB / 467.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3937, allocations: 15.84 kB / 467.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3937, allocations: 8 kB / 467.7 MB, free: 5.301 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.0002003/0.3939, allocations: 205.1 kB / 467.9 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.394, allocations: 23.84 kB / 467.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.394, allocations: 25.52 kB / 467.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.394, allocations: 8.062 kB / 467.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3941, allocations: 4 kB / 467.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3941, allocations: 0 / 467.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3952, allocations: 0.655 MB / 468.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3952, allocations: 0 / 468.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3954, allocations: 23.92 kB / 468.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.3957, allocations: 88.8 kB / 468.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3957, allocations: 144 / 468.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.3985, allocations: 1.943 MB / 470.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3985, allocations: 4 kB / 470.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.3994, allocations: 456 kB / 471.1 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.3995, allocations: 100.8 kB / 471.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3995, allocations: 8 kB / 471.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3997, allocations: 20.05 kB / 471.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3998, allocations: 19.92 kB / 471.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3998, allocations: 7.938 kB / 471.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.3999, allocations: 160.6 kB / 471.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3999, allocations: 0 / 471.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.4005, allocations: 119.7 kB / 471.5 MB, free: 1.219 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.0001933/0.4008, allocations: 111.2 kB / 471.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.402, allocations: 0.5549 MB / 472.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.402, allocations: 0 / 472.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.4025, allocations: 286.9 kB / 472.5 MB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.403, allocations: 36.66 kB / 472.5 MB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.4054, allocations: 0.9334 MB / 473.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4057, allocations: 0.7407 MB / 474.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.4058, allocations: 17.95 kB / 474.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.4059, allocations: 23.44 kB / 474.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4059, allocations: 4 kB / 474.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006875/0.4128, allocations: 2.852 MB / 477.1 MB, free: 11.57 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_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,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOut.v