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.001227/0.001227, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001311/0.00131, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.408/1.408, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009802, allocations: 51.64 kB / 300.8 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.0994, allocations: 49.43 MB / 350.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003792/0.1032, allocations: 2.651 MB / 352.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1045, allocations: 0.6623 MB / 353.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.1048, allocations: 7.938 kB / 353.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.105, allocations: 27.77 kB / 353.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1053, allocations: 79.45 kB / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1056, allocations: 63.92 kB / 353.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.106, allocations: 310.7 kB / 354 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.1062, allocations: 92.94 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1064, allocations: 115.5 kB / 354.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1066, allocations: 131.4 kB / 354.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.1066, allocations: 24 kB / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.1067, allocations: 24 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.1068, allocations: 59.81 kB / 354.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1069, allocations: 123.4 kB / 354.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1071, allocations: 227.6 kB / 354.8 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1071, allocations: 3.938 kB / 354.8 MB, free: 136 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1072, allocations: 0 / 354.8 MB, free: 136 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1072, allocations: 4 kB / 354.8 MB, free: 132 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.0009849/0.1082, allocations: 0.5576 MB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1082, allocations: 12.03 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.1083, allocations: 28.66 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1086, allocations: 255.8 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1086, allocations: 16.94 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.1087, allocations: 24.38 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.1091, allocations: 225.1 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1091, allocations: 0 / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1092, allocations: 12 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.1092, allocations: 11.98 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.1096, allocations: 186.2 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.111, allocations: 0.9006 MB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.1116, allocations: 214.7 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.1119, allocations: 128.7 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.112, allocations: 3.984 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.112, allocations: 38.56 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.112, allocations: 0 / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001693/0.1137, allocations: 0.5531 MB / 358 MB, free: 12.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1137, allocations: 55.41 kB / 358 MB, free: 12.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.114, allocations: 235 kB / 358.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.114, allocations: 25.7 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.1141, allocations: 163.8 kB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1141, allocations: 55.25 kB / 358.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.1142, allocations: 49.64 kB / 358.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1143, allocations: 330.8 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1145, allocations: 68.77 kB / 358.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1147, allocations: 114 kB / 359 MB, free: 11.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.115, allocations: 181.9 kB / 359.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.115, allocations: 0 / 359.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008517/0.1159, allocations: 344.9 kB / 359.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1159, allocations: 11.97 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1159, allocations: 4 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.1163, allocations: 80.73 kB / 359.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1164, allocations: 39.97 kB / 359.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.1192, allocations: 2.017 MB / 361.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1194, allocations: 31.73 kB / 361.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1195, allocations: 4 kB / 361.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001493/0.1196, allocations: 144.1 kB / 361.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001155/0.1197, allocations: 101.9 kB / 362 MB, free: 8.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001829/0.1199, allocations: 145.9 kB / 362.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.1199, allocations: 4 kB / 362.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003419/0.1203, allocations: 221.1 kB / 362.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1203, allocations: 4 kB / 362.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.1203, allocations: 0 / 362.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/0.1204, allocations: 28.84 kB / 362.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1206, allocations: 48.09 kB / 362.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009652/0.1215, allocations: 1.411 MB / 363.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.1217, allocations: 19.88 kB / 363.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1217, allocations: 7.984 kB / 363.9 MB, free: 6.438 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.000122/0.1218, allocations: 196.2 kB / 364 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1219, allocations: 23.72 kB / 364.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1219, allocations: 21.53 kB / 364.1 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.1219, allocations: 3.938 kB / 364.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1219, allocations: 64 / 364.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.122, allocations: 7.984 kB / 364.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.123, allocations: 0.6201 MB / 364.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.123, allocations: 0 / 364.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1232, allocations: 20 kB / 364.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.1234, allocations: 72.8 kB / 364.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1234, allocations: 4 kB / 364.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.1257, allocations: 1.923 MB / 366.7 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1258, allocations: 8 kB / 366.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.1266, allocations: 439.3 kB / 367.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1267, allocations: 92.89 kB / 367.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1267, allocations: 11.94 kB / 367.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1269, allocations: 24.03 kB / 367.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.127, allocations: 11.98 kB / 367.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.127, allocations: 4 kB / 367.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1272, allocations: 160.6 kB / 367.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1272, allocations: 0 / 367.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1277, allocations: 119.7 kB / 367.6 MB, free: 2.457 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.0001522/0.1279, allocations: 103.2 kB / 367.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.129, allocations: 0.5438 MB / 368.2 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.129, allocations: 0 / 368.2 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.1293, allocations: 207.3 kB / 368.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1297, allocations: 42.75 kB / 368.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1307, allocations: 0.6156 MB / 369.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1311, allocations: 0.7478 MB / 369.8 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1312, allocations: 19.38 kB / 369.9 MB, free: 84 kB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1312, allocations: 4 kB / 369.9 MB, free: 80 kB / 302.1 MB Notification: Performance of Templates: time 0.1604/0.2916, allocations: 3.493 MB / 373.4 MB, free: 24.65 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches