Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004484/0.004484, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8604/0.8604, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.942e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002332/0.002352, allocations: 2.468 MB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.003158, allocations: 0.6661 MB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003264, allocations: 4 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.003384, allocations: 43.52 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.003586, allocations: 91.25 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.003725, allocations: 83.77 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.003991, allocations: 322.5 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.004173, allocations: 68.91 kB / 329.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.004327, allocations: 171.6 kB / 329.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004442, allocations: 95.69 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.00448, allocations: 28 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.004503, allocations: 24 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.00454, allocations: 51.81 kB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.004613, allocations: 99.75 kB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.004846, allocations: 295 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004849, allocations: 4 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00485, allocations: 0 / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.004855, allocations: 0 / 330.4 MB, free: 10.88 MB / 298.7 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.0006608/0.005516, allocations: 0.4926 MB / 330.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.005554, allocations: 8.031 kB / 330.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.005611, allocations: 32.75 kB / 330.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.005851, allocations: 197.3 kB / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005866, allocations: 12.88 kB / 331.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.005898, allocations: 24.38 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.006206, allocations: 309.7 kB / 331.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006214, allocations: 192 / 331.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006231, allocations: 8.375 kB / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.00624, allocations: 15.88 kB / 331.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.006476, allocations: 185.8 kB / 331.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.007323, allocations: 0.7579 MB / 332.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.007696, allocations: 210.7 kB / 332.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.008017, allocations: 112.8 kB / 332.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.008036, allocations: 4 kB / 332.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.008058, allocations: 34.56 kB / 332.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.008059, allocations: 0 / 332.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009175/0.008977, allocations: 493.9 kB / 333.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.009005, allocations: 55.41 kB / 333.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.009138, allocations: 214.4 kB / 333.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.009152, allocations: 29.7 kB / 333.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.009233, allocations: 172.1 kB / 333.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.00926, allocations: 51.58 kB / 333.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.009305, allocations: 41.72 kB / 333.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.009377, allocations: 330.8 kB / 334.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.009472, allocations: 68.83 kB / 334.2 MB, free: 6.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.009594, allocations: 117.9 kB / 334.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.009791, allocations: 185.8 kB / 334.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009793, allocations: 0 / 334.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004278/0.01022, allocations: 338.2 kB / 334.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01023, allocations: 4 kB / 334.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01024, allocations: 7.938 kB / 334.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.01047, allocations: 76.83 kB / 334.9 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.01056, allocations: 47.91 kB / 334.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.01204, allocations: 1.868 MB / 336.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.01212, allocations: 27.91 kB / 336.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01213, allocations: 16 kB / 336.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.593e-05/0.01223, allocations: 136.1 kB / 337 MB, free: 3.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.417e-05/0.0123, allocations: 103 kB / 337.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001212/0.01242, allocations: 148.8 kB / 337.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.01242, allocations: 0 / 337.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002022/0.01262, allocations: 214.2 kB / 337.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.01263, allocations: 8 kB / 337.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.01263, allocations: 3.938 kB / 337.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-05/0.01268, allocations: 28.78 kB / 337.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.01276, allocations: 51.91 kB / 337.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/0.01329, allocations: 1.284 MB / 338.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.01335, allocations: 15.89 kB / 338.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01335, allocations: 12 kB / 338.8 MB, free: 1.879 MB / 298.7 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 6.972e-05/0.01342, allocations: 188.6 kB / 339 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.01345, allocations: 19.89 kB / 339 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.01347, allocations: 25.41 kB / 339.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01348, allocations: 4 kB / 339.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.21e-07/0.01348, allocations: 0 / 339.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.01348, allocations: 4.062 kB / 339.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.01404, allocations: 0.5408 MB / 339.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01404, allocations: 0 / 339.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.0141, allocations: 23.98 kB / 339.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.01437, allocations: 84.73 kB / 339.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.01438, allocations: 4 kB / 339.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.01554, allocations: 1.77 MB / 341.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01554, allocations: 3.938 kB / 341.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.01597, allocations: 444.5 kB / 341.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01599, allocations: 15.89 kB / 341.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.016, allocations: 0 / 341.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.01608, allocations: 19.98 kB / 342 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.0161, allocations: 11.92 kB / 342 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01611, allocations: 8 kB / 342 MB, free: 14.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.01619, allocations: 152.2 kB / 342.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01619, allocations: 4.062 kB / 342.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.0165, allocations: 115.7 kB / 342.2 MB, free: 14.29 MB / 314.7 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 7.972e-05/0.01658, allocations: 103.2 kB / 342.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.01715, allocations: 0.5236 MB / 342.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01716, allocations: 4.188 kB / 342.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.01729, allocations: 201.1 kB / 343.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01753, allocations: 36.05 kB / 343.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.01813, allocations: 0.4961 MB / 343.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.0182, allocations: 134.2 kB / 343.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01823, allocations: 16.5 kB / 343.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01823, allocations: 0 / 343.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003803/0.02204, allocations: 3.529 MB / 347.3 MB, free: 9.172 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.368239508010447]