Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.478/1.478, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 374.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 53.31 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.0043/0.1245, allocations: 2.623 MB / 430.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1259, allocations: 0.6973 MB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1261, allocations: 7.938 kB / 431.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1262, allocations: 43.56 kB / 431.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1265, allocations: 87.33 kB / 431.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1267, allocations: 87.81 kB / 431.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.1271, allocations: 306.7 kB / 431.9 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1273, allocations: 68.94 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1275, allocations: 115.5 kB / 432.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1276, allocations: 127.5 kB / 432.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.1277, allocations: 24 kB / 432.3 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.1277, allocations: 28 kB / 432.3 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1278, allocations: 59.77 kB / 432.4 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2571/0.3849, allocations: 127.2 kB / 432.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.3854, allocations: 291.4 kB / 432.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3854, allocations: 1.281 kB / 432.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3855, allocations: 0 / 432.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3855, allocations: 0 / 432.8 MB, free: 8.406 MB / 350.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.0009556/0.3864, allocations: 0.5614 MB / 433.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3865, allocations: 13.23 kB / 433.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.3865, allocations: 34.91 kB / 433.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3869, allocations: 262.2 kB / 433.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3869, allocations: 17.34 kB / 433.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.387, allocations: 23.41 kB / 433.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.3874, allocations: 225.8 kB / 433.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3874, allocations: 3.938 kB / 433.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3875, allocations: 9.781 kB / 433.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.3875, allocations: 5.781 kB / 433.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.3879, allocations: 185.3 kB / 434.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3892, allocations: 0.9027 MB / 435 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.3899, allocations: 204.8 kB / 435.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.3901, allocations: 111.2 kB / 435.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3902, allocations: 9.75 kB / 435.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3902, allocations: 33.81 kB / 435.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.285e-06/0.3902, allocations: 0 / 435.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001824/0.392, allocations: 0.5575 MB / 435.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.392, allocations: 57.66 kB / 436 MB, free: 6.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3923, allocations: 228.2 kB / 436.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3923, allocations: 26.67 kB / 436.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.3924, allocations: 166.5 kB / 436.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3925, allocations: 61.48 kB / 436.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.3925, allocations: 42 kB / 436.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.3926, allocations: 331.7 kB / 436.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3928, allocations: 72.55 kB / 436.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.393, allocations: 110 kB / 437 MB, free: 6.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.3933, allocations: 188.2 kB / 437.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3933, allocations: 1.094 kB / 437.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008721/0.3942, allocations: 339.5 kB / 437.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3942, allocations: 9.031 kB / 437.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3942, allocations: 5.375 kB / 437.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.3947, allocations: 80.61 kB / 437.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3948, allocations: 46.78 kB / 437.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.3976, allocations: 2.006 MB / 439.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3979, allocations: 32.16 kB / 439.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3979, allocations: 7.203 kB / 439.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001679/0.3981, allocations: 147.5 kB / 439.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001136/0.3982, allocations: 96.36 kB / 439.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000185/0.3984, allocations: 154 kB / 440.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.3984, allocations: 0 / 440.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004069/0.3988, allocations: 220 kB / 440.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3988, allocations: 6.562 kB / 440.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3988, allocations: 2.625 kB / 440.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.3989, allocations: 31.16 kB / 440.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3991, allocations: 40.5 kB / 440.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007746/0.3998, allocations: 1.414 MB / 441.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4, allocations: 15.98 kB / 441.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4, allocations: 9.859 kB / 441.8 MB, free: 2.957 MB / 350.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.0001245/0.4001, allocations: 199.4 kB / 442 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.4002, allocations: 22.62 kB / 442 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.4002, allocations: 21.77 kB / 442 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4002, allocations: 6.531 kB / 442 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4002, allocations: 0 / 442 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4002, allocations: 3.656 kB / 442 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.4014, allocations: 0.6229 MB / 442.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4014, allocations: 0.5625 kB / 442.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4015, allocations: 27.62 kB / 442.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.4018, allocations: 75.33 kB / 442.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4018, allocations: 1.875 kB / 442.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.404, allocations: 1.919 MB / 444.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.404, allocations: 0 / 444.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.4049, allocations: 434.6 kB / 445.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.405, allocations: 104.8 kB / 445.2 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.405, allocations: 12.88 kB / 445.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4052, allocations: 20.86 kB / 445.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.4053, allocations: 9.719 kB / 445.3 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4053, allocations: 8.031 kB / 445.3 MB, free: 476 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4054, allocations: 166.4 kB / 445.4 MB, free: 368 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 445.4 MB, free: 368 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000597/0.406, allocations: 118.3 kB / 445.5 MB, free: 340 kB / 350.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.0001414/0.4062, allocations: 109.3 kB / 445.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.4075, allocations: 0.5159 MB / 446.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4075, allocations: 1.875 kB / 446.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.4079, allocations: 201.7 kB / 446.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.4083, allocations: 34.2 kB / 446.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4095, allocations: 0.5357 MB / 446.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.4099, allocations: 0.7387 MB / 447.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.41, allocations: 18.09 kB / 447.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.41, allocations: 5.125 kB / 447.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.007791/0.4178, allocations: 3.553 MB / 451.2 MB, free: 14.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.432529017096385]