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.00175/0.001751, allocations: 120.5 kB / 18.41 MB, free: 4.645 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.002067/0.002067, allocations: 194.7 kB / 21.35 MB, free: 1.711 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.458/1.458, allocations: 222.9 MB / 247 MB, free: 4.164 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.001588/0.001588, allocations: 51.92 kB / 358.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09386, allocations: 49.44 MB / 408.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003828/0.09773, allocations: 2.582 MB / 410.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.099, allocations: 0.6622 MB / 411.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.09916, allocations: 7.938 kB / 411.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.09933, allocations: 47.56 kB / 411.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.0996, allocations: 79.33 kB / 411.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.0998, allocations: 87.81 kB / 411.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1002, allocations: 310.6 kB / 411.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.1004, allocations: 96.88 kB / 412 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1005, allocations: 115.6 kB / 412.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1007, allocations: 127.4 kB / 412.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.1008, allocations: 24 kB / 412.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.1008, allocations: 24 kB / 412.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1009, allocations: 59.77 kB / 412.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.101, allocations: 135.3 kB / 412.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.1014, allocations: 286.8 kB / 412.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1014, allocations: 0 / 412.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1014, allocations: 4 kB / 412.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1014, allocations: 0 / 412.8 MB, free: 2.062 MB / 334.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.001015/0.1024, allocations: 0.569 MB / 413.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1025, allocations: 8.031 kB / 413.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.1025, allocations: 32.75 kB / 413.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.1029, allocations: 260 kB / 413.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.103, allocations: 16.94 kB / 413.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.103, allocations: 20.38 kB / 413.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1035, allocations: 233.2 kB / 413.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1035, allocations: 0 / 413.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1036, allocations: 8 kB / 413.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1036, allocations: 8 kB / 413.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.104, allocations: 186.2 kB / 414.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1056, allocations: 0.9086 MB / 415 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.1063, allocations: 214.7 kB / 415.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.1067, allocations: 120.7 kB / 415.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1067, allocations: 11.88 kB / 415.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1067, allocations: 38.55 kB / 415.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1068, allocations: 4 kB / 415.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001956/0.1087, allocations: 0.5604 MB / 415.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1088, allocations: 51.41 kB / 416 MB, free: 14.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.109, allocations: 227.1 kB / 416.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1091, allocations: 25.7 kB / 416.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1092, allocations: 176.1 kB / 416.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1092, allocations: 59.53 kB / 416.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.1093, allocations: 49.66 kB / 416.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1095, allocations: 330.8 kB / 416.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1097, allocations: 64.83 kB / 416.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1099, allocations: 110.6 kB / 417 MB, free: 13.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.1103, allocations: 187.4 kB / 417.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1103, allocations: 3.938 kB / 417.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000922/0.1113, allocations: 344.2 kB / 417.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1113, allocations: 8 kB / 417.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1113, allocations: 0 / 417.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.1117, allocations: 76.8 kB / 417.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1119, allocations: 43.95 kB / 417.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.1151, allocations: 2.013 MB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1153, allocations: 31.81 kB / 419.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1153, allocations: 4 kB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000177/0.1155, allocations: 148.5 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001279/0.1157, allocations: 105.9 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002022/0.1159, allocations: 144 kB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.1159, allocations: 8 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003581/0.1162, allocations: 218.1 kB / 420.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1163, allocations: 4 kB / 420.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1163, allocations: 4 kB / 420.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.151e-05/0.1164, allocations: 28.78 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1165, allocations: 44.17 kB / 420.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.1176, allocations: 1.418 MB / 421.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1178, allocations: 15.89 kB / 421.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1178, allocations: 4 kB / 421.8 MB, free: 8.34 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.0001346/0.1179, allocations: 192.2 kB / 422 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.118, allocations: 23.84 kB / 422 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1181, allocations: 21.52 kB / 422.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1181, allocations: 3.938 kB / 422.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1181, allocations: 4 kB / 422.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1181, allocations: 64 / 422.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.1193, allocations: 0.628 MB / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1193, allocations: 4 kB / 422.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1195, allocations: 31.92 kB / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.1198, allocations: 72.8 kB / 422.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1198, allocations: 8 kB / 422.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.1224, allocations: 1.912 MB / 424.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1224, allocations: 3.984 kB / 424.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.1234, allocations: 440.5 kB / 425.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.1235, allocations: 100.9 kB / 425.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1235, allocations: 7.938 kB / 425.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1237, allocations: 15.98 kB / 425.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1238, allocations: 11.98 kB / 425.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1238, allocations: 8.188 kB / 425.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.124, allocations: 164.6 kB / 425.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.124, allocations: 0 / 425.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006769/0.1247, allocations: 119.8 kB / 425.6 MB, free: 4.344 MB / 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.0001403/0.1248, allocations: 103.7 kB / 425.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1261, allocations: 0.5485 MB / 426.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1261, allocations: 0 / 426.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1264, allocations: 206.5 kB / 426.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1268, allocations: 37.28 kB / 426.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1279, allocations: 0.5405 MB / 427 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1282, allocations: 0.7441 MB / 427.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.1283, allocations: 15.44 kB / 427.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1283, allocations: 0 / 427.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Templates: time 0.1866/0.3149, allocations: 3.504 MB / 431.3 MB, free: 21.65 MB / 350.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.284291453077458]