Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 307.8 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002968/0.1272, allocations: 2.289 MB / 361.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1286, allocations: 0.6896 MB / 362.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1287, allocations: 7.938 kB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1288, allocations: 27.77 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1291, allocations: 75.45 kB / 362.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.1293, allocations: 63.94 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.1296, allocations: 306.6 kB / 362.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1298, allocations: 73.5 kB / 362.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.13, allocations: 99.62 kB / 362.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1301, allocations: 115.4 kB / 363 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.1302, allocations: 16 kB / 363 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-05/0.1302, allocations: 12 kB / 363 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.1302, allocations: 43.83 kB / 363.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1304, allocations: 145 kB / 363.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1307, allocations: 271.2 kB / 363.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1307, allocations: 0 / 363.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1307, allocations: 0 / 363.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.1307, allocations: 0 / 363.5 MB, free: 9.039 MB / 302.1 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.0008851/0.1316, allocations: 0.5265 MB / 364 MB, free: 8.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1316, allocations: 12.03 kB / 364 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.1317, allocations: 24.66 kB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.132, allocations: 255.8 kB / 364.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.132, allocations: 20.88 kB / 364.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1321, allocations: 20.38 kB / 364.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.1326, allocations: 229.2 kB / 364.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1326, allocations: 0 / 364.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.1326, allocations: 12 kB / 364.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1326, allocations: 4 kB / 364.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.1331, allocations: 194.2 kB / 364.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1345, allocations: 0.9201 MB / 365.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.1351, allocations: 230.6 kB / 365.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.1355, allocations: 128.7 kB / 366 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1355, allocations: 7.938 kB / 366.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1356, allocations: 42.5 kB / 366.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.1356, allocations: 0 / 366.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001865/0.1374, allocations: 0.5889 MB / 366.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1375, allocations: 55.41 kB / 366.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1377, allocations: 235 kB / 367 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1378, allocations: 25.7 kB / 367 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1379, allocations: 167.8 kB / 367.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1379, allocations: 51.25 kB / 367.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.138, allocations: 25.72 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1381, allocations: 330.8 kB / 367.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1383, allocations: 63.97 kB / 367.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1385, allocations: 115.1 kB / 367.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1389, allocations: 193.3 kB / 367.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1389, allocations: 0 / 367.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000885/0.1398, allocations: 358.1 kB / 368.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/0.1399, allocations: 134.2 kB / 368.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1399, allocations: 0 / 368.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.1402, allocations: 80.8 kB / 368.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1404, allocations: 51.91 kB / 368.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1432, allocations: 1.865 MB / 370.4 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.1434, allocations: 23.88 kB / 370.4 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1434, allocations: 8 kB / 370.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.1435, allocations: 4 kB / 370.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003188/0.1438, allocations: 172.8 kB / 370.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.1438, allocations: 8.031 kB / 370.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.367e-05/0.1439, allocations: 24.8 kB / 370.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.144, allocations: 43.91 kB / 370.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2272/0.3712, allocations: 1.312 MB / 372 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3715, allocations: 14.45 kB / 372 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3715, allocations: 8.594 kB / 372 MB, free: 18.2 MB / 302.1 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.3717, allocations: 215.6 kB / 372.2 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.3718, allocations: 20.78 kB / 372.2 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.3718, allocations: 22.12 kB / 372.3 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3718, allocations: 8.75 kB / 372.3 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.3719, allocations: 1.188 kB / 372.3 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3719, allocations: 5.141 kB / 372.3 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3731, allocations: 0.6404 MB / 372.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3731, allocations: 0 / 372.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3733, allocations: 23.05 kB / 372.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.3736, allocations: 84.88 kB / 373 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3736, allocations: 4.906 kB / 373 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.3757, allocations: 1.763 MB / 374.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3757, allocations: 1.375 kB / 374.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.3766, allocations: 455.5 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3767, allocations: 99.8 kB / 375.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3767, allocations: 2.203 kB / 375.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3769, allocations: 25.83 kB / 375.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.377, allocations: 14.48 kB / 375.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.377, allocations: 3.828 kB / 375.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3772, allocations: 162.6 kB / 375.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3772, allocations: 0.9688 kB / 375.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.3778, allocations: 116.2 kB / 375.7 MB, free: 16.05 MB / 302.1 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.378, allocations: 104.2 kB / 375.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3791, allocations: 0.5547 MB / 376.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3791, allocations: 1.469 kB / 376.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.3794, allocations: 204.8 kB / 376.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3798, allocations: 32.95 kB / 376.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/0.3808, allocations: 0.6233 MB / 377.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.381, allocations: 0.7388 MB / 377.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.3811, allocations: 26.48 kB / 377.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3811, allocations: 17.62 kB / 377.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3811, allocations: 0 / 377.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006724/0.3879, allocations: 2.865 MB / 380.8 MB, free: 14.41 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.v_out,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