Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009973/0.0009974, allocations: 50.42 kB / 300 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1109, allocations: 49.45 MB / 349.4 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00389/0.1149, allocations: 2.643 MB / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.116, allocations: 0.6584 MB / 352.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1162, allocations: 7.938 kB / 352.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1164, allocations: 31.77 kB / 352.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1166, allocations: 67.45 kB / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1168, allocations: 71.92 kB / 352.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1171, allocations: 294.6 kB / 353.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.1173, allocations: 85.48 kB / 353.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1175, allocations: 107.6 kB / 353.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1176, allocations: 123.4 kB / 353.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.1177, allocations: 16 kB / 353.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.105e-05/0.1177, allocations: 16 kB / 353.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.1178, allocations: 47.83 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1179, allocations: 123.3 kB / 353.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1181, allocations: 275.2 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1182, allocations: 7.984 kB / 354 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1182, allocations: 3.938 kB / 354 MB, free: 216 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1182, allocations: 7.938 kB / 354 MB, free: 208 kB / 286.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.0009213/0.1191, allocations: 0.5576 MB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1192, allocations: 12.03 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.1192, allocations: 24.66 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1195, allocations: 255.8 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1195, allocations: 16.94 kB / 354.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.1196, allocations: 20.38 kB / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1201, allocations: 237.1 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1201, allocations: 0 / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1201, allocations: 8 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1201, allocations: 8 kB / 355.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.1206, allocations: 186.2 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.1221, allocations: 0.9006 MB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.1227, allocations: 214.7 kB / 356.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.123, allocations: 132.7 kB / 356.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.123, allocations: 0 / 356.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1231, allocations: 34.56 kB / 356.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1231, allocations: 8 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001794/0.1249, allocations: 0.5491 MB / 357.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1249, allocations: 55.41 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1252, allocations: 234.9 kB / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1252, allocations: 33.7 kB / 357.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1253, allocations: 159.8 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1254, allocations: 59.23 kB / 357.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.1254, allocations: 45.7 kB / 357.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1256, allocations: 326.8 kB / 358 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1258, allocations: 64.83 kB / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.126, allocations: 121.9 kB / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1263, allocations: 177.8 kB / 358.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1264, allocations: 4 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008404/0.1272, allocations: 341.3 kB / 358.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1272, allocations: 11.98 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1272, allocations: 4 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.1277, allocations: 80.75 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1278, allocations: 43.94 kB / 358.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.1307, allocations: 1.814 MB / 360.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1309, allocations: 31.84 kB / 360.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1309, allocations: 12 kB / 360.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001736/0.1311, allocations: 144 kB / 360.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001098/0.1312, allocations: 97.92 kB / 360.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000192/0.1314, allocations: 145.9 kB / 361.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.1314, allocations: 0 / 361.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003406/0.1318, allocations: 220.9 kB / 361.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1318, allocations: 14.28 kB / 361.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.1318, allocations: 0 / 361.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.021e-05/0.1319, allocations: 24.84 kB / 361.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1321, allocations: 47.92 kB / 361.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009008/0.133, allocations: 1.313 MB / 362.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1331, allocations: 15.88 kB / 362.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1331, allocations: 8 kB / 362.7 MB, free: 6.82 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.0001169/0.1332, allocations: 196.2 kB / 362.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1333, allocations: 19.81 kB / 362.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.1334, allocations: 25.52 kB / 362.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1334, allocations: 0 / 362.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1334, allocations: 0 / 362.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1334, allocations: 144 / 362.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1345, allocations: 0.6278 MB / 363.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1345, allocations: 0 / 363.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1346, allocations: 31.97 kB / 363.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.1349, allocations: 72.8 kB / 363.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1349, allocations: 0 / 363.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.137, allocations: 1.729 MB / 365.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.137, allocations: 3.938 kB / 365.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.1379, allocations: 447.8 kB / 365.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1379, allocations: 88.95 kB / 365.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.138, allocations: 7.984 kB / 365.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.1382, allocations: 27.98 kB / 366 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1382, allocations: 7.984 kB / 366 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.1382, allocations: 8 kB / 366 MB, free: 3.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1384, allocations: 160.6 kB / 366.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 366.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.1389, allocations: 115.7 kB / 366.3 MB, free: 3.039 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.0001278/0.1391, allocations: 107.2 kB / 366.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1401, allocations: 0.5361 MB / 366.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1401, allocations: 4 kB / 366.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1404, allocations: 198 kB / 367.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1409, allocations: 44.53 kB / 367.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1419, allocations: 0.5861 MB / 367.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1422, allocations: 0.7443 MB / 368.5 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1423, allocations: 25.94 kB / 368.5 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1424, allocations: 15.44 kB / 368.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1424, allocations: 4 kB / 368.5 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of Templates: time 0.1712/0.3136, allocations: 2.872 MB / 371.4 MB, free: 24.55 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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