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.0007451/0.0007451, allocations: 89.28 kB / 17.31 MB, free: 5.59 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.0008022/0.0008022, allocations: 175.4 kB / 18.21 MB, free: 5.191 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.283/1.283, allocations: 223.3 MB / 242.3 MB, free: 14.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.000226, allocations: 11.94 kB / 302.1 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.0733, allocations: 50.41 MB / 352.5 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002286/0.07562, allocations: 2.284 MB / 354.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.07647, allocations: 0.6506 MB / 355.4 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.0766, allocations: 7.938 kB / 355.5 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.07671, allocations: 27.77 kB / 355.5 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.07692, allocations: 71.45 kB / 355.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.07708, allocations: 75.91 kB / 355.6 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.07737, allocations: 294.7 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.07754, allocations: 73.52 kB / 356 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.07766, allocations: 103.5 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.07781, allocations: 115.4 kB / 356.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.07785, allocations: 12 kB / 356.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.07789, allocations: 12 kB / 356.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.07794, allocations: 43.83 kB / 356.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.07805, allocations: 141.1 kB / 356.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.07825, allocations: 215.6 kB / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.07826, allocations: 0 / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.07827, allocations: 0 / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.07828, allocations: 0 / 356.6 MB, free: 15.27 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.0007571/0.07904, allocations: 0.5226 MB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.07908, allocations: 15.97 kB / 357.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.07914, allocations: 28.66 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.07939, allocations: 255.8 kB / 357.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.07942, allocations: 16.94 kB / 357.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.07947, allocations: 24.38 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.0799, allocations: 233.1 kB / 357.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.07992, allocations: 0 / 357.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.07995, allocations: 12 kB / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.07997, allocations: 8 kB / 357.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.0804, allocations: 190.2 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.08178, allocations: 0.9163 MB / 358.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.08241, allocations: 218.7 kB / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.08273, allocations: 132.7 kB / 359.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.08276, allocations: 7.984 kB / 359.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.08278, allocations: 34.56 kB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.08279, allocations: 0 / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001865/0.08466, allocations: 0.6005 MB / 359.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.0847, allocations: 51.41 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.08492, allocations: 239 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.08494, allocations: 25.7 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.08503, allocations: 163.8 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.08508, allocations: 51.27 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.08512, allocations: 29.64 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.08522, allocations: 330.8 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.0854, allocations: 67.97 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.0856, allocations: 110 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.08596, allocations: 189.9 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.08597, allocations: 0 / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000892/0.08687, allocations: 364.9 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.08694, allocations: 132.5 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.08695, allocations: 4 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.0873, allocations: 84.8 kB / 361.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.08747, allocations: 39.97 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.09013, allocations: 1.877 MB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.09031, allocations: 23.78 kB / 363.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.09034, allocations: 12 kB / 363.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.09035, allocations: 4 kB / 363.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002827/0.09064, allocations: 168.8 kB / 363.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.09065, allocations: 4 kB / 363.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-05/0.09072, allocations: 28.72 kB / 363.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.09089, allocations: 43.97 kB / 363.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007834/0.09168, allocations: 1.312 MB / 365.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.0918, allocations: 15.84 kB / 365.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.09181, allocations: 8 kB / 365.1 MB, free: 6.129 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.0001233/0.09194, allocations: 213 kB / 365.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.09199, allocations: 19.88 kB / 365.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.09205, allocations: 25.52 kB / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.09206, allocations: 4 kB / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.09206, allocations: 0 / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.09207, allocations: 0 / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.09316, allocations: 0.6387 MB / 366 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.09317, allocations: 4 kB / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.0933, allocations: 27.92 kB / 366.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.09357, allocations: 80.73 kB / 366.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.0936, allocations: 8 kB / 366.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.09576, allocations: 1.76 MB / 367.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.09578, allocations: 4.031 kB / 367.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.0967, allocations: 455.8 kB / 368.4 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.09677, allocations: 104.8 kB / 368.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.0968, allocations: 0 / 368.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.09701, allocations: 23.98 kB / 368.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.09704, allocations: 12.05 kB / 368.5 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.09705, allocations: 4 kB / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.0972, allocations: 168.6 kB / 368.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0972, allocations: 3.938 kB / 368.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.09773, allocations: 111.7 kB / 368.8 MB, free: 2.246 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 9.919e-05/0.09784, allocations: 107.2 kB / 368.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.09892, allocations: 0.5517 MB / 369.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.09894, allocations: 0.6875 kB / 369.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.09925, allocations: 210.6 kB / 369.6 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.09965, allocations: 39.34 kB / 369.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.1006, allocations: 0.6514 MB / 370.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.126/0.2265, allocations: 0.737 MB / 371.1 MB, free: 23.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.2267, allocations: 18.06 kB / 371.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2267, allocations: 0.5625 kB / 371.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of Templates: time 0.006309/0.233, allocations: 3.47 MB / 374.6 MB, free: 23.3 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