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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 120 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 185.2 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 55.91 kB / 366.9 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08971, allocations: 52.14 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003824/0.09353, allocations: 2.61 MB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.0947, allocations: 0.6622 MB / 422.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.09482, allocations: 7.938 kB / 422.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.09496, allocations: 47.56 kB / 422.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.0952, allocations: 79.33 kB / 422.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.09537, allocations: 87.83 kB / 422.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.09573, allocations: 310.7 kB / 422.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.0959, allocations: 64.95 kB / 422.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.09604, allocations: 119.5 kB / 423 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.09621, allocations: 119.5 kB / 423.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.09625, allocations: 28 kB / 423.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.0963, allocations: 24 kB / 423.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.09636, allocations: 59.7 kB / 423.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.09649, allocations: 131.4 kB / 423.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.09682, allocations: 294.8 kB / 423.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09682, allocations: 0 / 423.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09682, allocations: 4 kB / 423.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.09683, allocations: 3.938 kB / 423.6 MB, free: 7.41 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.0009525/0.09778, allocations: 0.5651 MB / 424.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.09781, allocations: 8.031 kB / 424.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.09788, allocations: 32.75 kB / 424.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.09823, allocations: 263.9 kB / 424.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.09825, allocations: 16.94 kB / 424.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.0983, allocations: 20.38 kB / 424.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.09876, allocations: 233.2 kB / 424.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.09877, allocations: 0 / 424.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.09879, allocations: 8 kB / 424.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.0988, allocations: 4 kB / 424.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.09923, allocations: 194.1 kB / 424.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1007, allocations: 0.9048 MB / 425.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.1013, allocations: 206.6 kB / 426.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.1016, allocations: 120.7 kB / 426.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1017, allocations: 0 / 426.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1017, allocations: 42.55 kB / 426.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.1017, allocations: 0 / 426.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001842/0.1035, allocations: 0.5558 MB / 426.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1036, allocations: 55.41 kB / 426.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1038, allocations: 223.1 kB / 427 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1038, allocations: 33.7 kB / 427.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.104, allocations: 176.1 kB / 427.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.104, allocations: 43.59 kB / 427.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.1041, allocations: 49.66 kB / 427.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1042, allocations: 330.8 kB / 427.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1044, allocations: 64.83 kB / 427.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1046, allocations: 122.6 kB / 427.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.105, allocations: 179.9 kB / 428 MB, free: 2.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.105, allocations: 0 / 428 MB, free: 2.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008644/0.1058, allocations: 342.2 kB / 428.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1058, allocations: 8 kB / 428.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1058, allocations: 0 / 428.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.1062, allocations: 80.83 kB / 428.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1063, allocations: 43.86 kB / 428.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.1093, allocations: 2.021 MB / 430.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.1095, allocations: 31.81 kB / 430.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1095, allocations: 15.98 kB / 430.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001656/0.1097, allocations: 136.1 kB / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001178/0.1098, allocations: 106 kB / 430.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001935/0.11, allocations: 148.1 kB / 430.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-06/0.11, allocations: 4 kB / 430.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003475/0.1103, allocations: 220.5 kB / 431.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.1103, allocations: 4 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1103, allocations: 7.938 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.441e-05/0.1104, allocations: 29.03 kB / 431.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1106, allocations: 35.98 kB / 431.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.1116, allocations: 1.418 MB / 432.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1118, allocations: 15.89 kB / 432.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1118, allocations: 4 kB / 432.7 MB, free: 13.71 MB / 366.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.0001285/0.1119, allocations: 192.2 kB / 432.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.1119, allocations: 23.89 kB / 432.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.112, allocations: 21.53 kB / 432.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.112, allocations: 3.938 kB / 432.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.112, allocations: 4.062 kB / 432.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.112, allocations: 7.984 kB / 432.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1131, allocations: 0.6125 MB / 433.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1131, allocations: 0 / 433.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1133, allocations: 31.92 kB / 433.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.1135, allocations: 76.8 kB / 433.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1135, allocations: 4 kB / 433.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.116, allocations: 1.923 MB / 435.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.116, allocations: 0 / 435.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.117, allocations: 442.8 kB / 436 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.117, allocations: 93 kB / 436.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1171, allocations: 7.938 kB / 436.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1172, allocations: 16.05 kB / 436.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1173, allocations: 15.98 kB / 436.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1173, allocations: 11.98 kB / 436.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1174, allocations: 160.6 kB / 436.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1174, allocations: 0 / 436.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005279/0.118, allocations: 111.8 kB / 436.4 MB, free: 9.73 MB / 366.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.000133/0.1181, allocations: 111.7 kB / 436.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1192, allocations: 0.5282 MB / 437 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1192, allocations: 0 / 437 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1195, allocations: 202.2 kB / 437.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1199, allocations: 48.64 kB / 437.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1209, allocations: 0.5289 MB / 437.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1212, allocations: 0.7402 MB / 438.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1213, allocations: 19.44 kB / 438.6 MB, free: 7.449 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1213, allocations: 0 / 438.6 MB, free: 7.449 MB / 366.1 MB Notification: Performance of Templates: time 0.005527/0.1268, allocations: 3.535 MB / 442.1 MB, free: 3.922 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.043857475975528]