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.001527/0.001527, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001609/0.001609, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.037/2.037, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 51.52 kB / 300.6 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 49.45 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005655/0.1482, allocations: 2.651 MB / 352.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1501, allocations: 0.6545 MB / 353.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.1504, allocations: 15.94 kB / 353.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1506, allocations: 27.77 kB / 353.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1511, allocations: 67.45 kB / 353.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1514, allocations: 71.88 kB / 353.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.1519, allocations: 294.7 kB / 353.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.1522, allocations: 81.5 kB / 353.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1524, allocations: 115.5 kB / 354 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1526, allocations: 119.5 kB / 354.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.1527, allocations: 16 kB / 354.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.1527, allocations: 16 kB / 354.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1528, allocations: 51.77 kB / 354.2 MB, free: 436 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.153, allocations: 115.4 kB / 354.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1533, allocations: 219.7 kB / 354.6 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1533, allocations: 0 / 354.6 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1534, allocations: 4 kB / 354.6 MB, free: 96 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1534, allocations: 3.938 kB / 354.6 MB, free: 92 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.001382/0.1548, allocations: 0.5615 MB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.1548, allocations: 12.03 kB / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.1549, allocations: 28.56 kB / 355.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1553, allocations: 251.8 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1554, allocations: 16.94 kB / 355.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.1555, allocations: 24.36 kB / 355.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.1561, allocations: 225.2 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1561, allocations: 0 / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.1562, allocations: 16 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1562, allocations: 4 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.1569, allocations: 190.1 kB / 355.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.159, allocations: 0.9044 MB / 356.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.1599, allocations: 210.7 kB / 357 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.1603, allocations: 132.6 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.1604, allocations: 4 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.1604, allocations: 34.55 kB / 357.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.1605, allocations: 0 / 357.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00245/0.1629, allocations: 0.5569 MB / 357.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.163, allocations: 55.34 kB / 357.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1633, allocations: 231 kB / 358 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1634, allocations: 29.7 kB / 358 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1636, allocations: 171.9 kB / 358.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1636, allocations: 51.2 kB / 358.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1637, allocations: 45.7 kB / 358.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1639, allocations: 330.8 kB / 358.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1642, allocations: 68.83 kB / 358.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.1645, allocations: 114 kB / 358.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.165, allocations: 185.8 kB / 359 MB, free: 11.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.165, allocations: 0 / 359 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00113/0.1661, allocations: 348.9 kB / 359.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1662, allocations: 8 kB / 359.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1662, allocations: 0 / 359.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.1667, allocations: 72.8 kB / 359.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1669, allocations: 47.95 kB / 359.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.1707, allocations: 1.814 MB / 361.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.171, allocations: 35.88 kB / 361.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.1711, allocations: 11.98 kB / 361.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002438/0.1713, allocations: 136.1 kB / 361.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001633/0.1715, allocations: 97.92 kB / 361.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002698/0.1718, allocations: 153.8 kB / 361.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1718, allocations: 0 / 361.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004866/0.1723, allocations: 217.4 kB / 361.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1723, allocations: 11.92 kB / 361.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1723, allocations: 4 kB / 361.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.1724, allocations: 28.78 kB / 361.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1727, allocations: 39.98 kB / 362 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.174, allocations: 1.309 MB / 363.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1742, allocations: 15.88 kB / 363.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1742, allocations: 8.125 kB / 363.3 MB, free: 6.707 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.0002039/0.1744, allocations: 196.1 kB / 363.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1745, allocations: 23.88 kB / 363.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.1745, allocations: 21.53 kB / 363.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1746, allocations: 3.984 kB / 363.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1746, allocations: 0 / 363.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1746, allocations: 0 / 363.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.1761, allocations: 0.6239 MB / 364.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1762, allocations: 4 kB / 364.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1763, allocations: 27.92 kB / 364.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.1767, allocations: 72.81 kB / 364.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1767, allocations: 7.984 kB / 364.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.1796, allocations: 1.729 MB / 366 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1796, allocations: 3.938 kB / 366 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.1809, allocations: 443.9 kB / 366.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.181, allocations: 92.89 kB / 366.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.181, allocations: 8.125 kB / 366.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1813, allocations: 19.98 kB / 366.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1813, allocations: 16.05 kB / 366.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1814, allocations: 4 kB / 366.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1816, allocations: 164.6 kB / 366.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1816, allocations: 0 / 366.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009502/0.1826, allocations: 115.7 kB / 366.9 MB, free: 2.918 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.000201/0.1828, allocations: 103.2 kB / 367 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1843, allocations: 0.54 MB / 367.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1843, allocations: 0 / 367.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.1847, allocations: 206.1 kB / 367.7 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.1854, allocations: 40.59 kB / 367.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1869, allocations: 0.6073 MB / 368.3 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1874, allocations: 0.7443 MB / 369.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.1875, allocations: 15.44 kB / 369.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1875, allocations: 4 kB / 369.1 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of Templates: time 0.2341/0.4216, allocations: 3.49 MB / 372.6 MB, free: 24.03 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