Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001696/0.001696, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002023/0.002023, allocations: 163.9 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 66.98 kB / 325.6 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1234, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004899/0.1283, allocations: 2.464 MB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1296, allocations: 0.6427 MB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1298, allocations: 7.938 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1299, allocations: 39.58 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1302, allocations: 91.25 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.1303, allocations: 71.86 kB / 382.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.1307, allocations: 310.7 kB / 382.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.1308, allocations: 77.61 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.131, allocations: 115.5 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1311, allocations: 115.4 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1312, allocations: 28 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.1312, allocations: 24 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.1313, allocations: 59.77 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1314, allocations: 115.5 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.1318, allocations: 290.8 kB / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1318, allocations: 4 kB / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1318, allocations: 0 / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1318, allocations: 4 kB / 383.4 MB, free: 11 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008492/0.1326, allocations: 497.4 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1327, allocations: 15.98 kB / 383.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.1327, allocations: 32.73 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1331, allocations: 210 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1331, allocations: 12.88 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.1332, allocations: 28.33 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.1336, allocations: 327.2 kB / 384.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1336, allocations: 0 / 384.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1336, allocations: 8 kB / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1336, allocations: 8 kB / 384.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1339, allocations: 161.9 kB / 384.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1353, allocations: 0.7697 MB / 385.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.1357, allocations: 186.6 kB / 385.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.136, allocations: 112.7 kB / 385.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.136, allocations: 4 kB / 385.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1361, allocations: 42.44 kB / 385.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.1361, allocations: 0 / 385.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006007/0.1367, allocations: 245.7 kB / 386 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1367, allocations: 55.34 kB / 386 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1369, allocations: 215.8 kB / 386.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1369, allocations: 33.7 kB / 386.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.137, allocations: 168.2 kB / 386.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.1371, allocations: 71.42 kB / 386.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.1372, allocations: 45.7 kB / 386.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1373, allocations: 330.8 kB / 386.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1374, allocations: 63.92 kB / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1376, allocations: 110 kB / 387.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1378, allocations: 179.7 kB / 387.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1378, allocations: 4 kB / 387.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003892/0.1382, allocations: 247 kB / 387.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1382, allocations: 6.812 kB / 387.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1382, allocations: 8 kB / 387.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.1384, allocations: 28.83 kB / 387.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1386, allocations: 47.92 kB / 387.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.1397, allocations: 1.288 MB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1398, allocations: 31.91 kB / 388.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1398, allocations: 8 kB / 388.9 MB, free: 5.102 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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.14, allocations: 137.8 kB / 389 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.14, allocations: 23.8 kB / 389.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.1401, allocations: 25.8 kB / 389.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1401, allocations: 4 kB / 389.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1401, allocations: 0 / 389.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1401, allocations: 0 / 389.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.1408, allocations: 499.7 kB / 389.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1408, allocations: 0 / 389.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.141, allocations: 35.97 kB / 389.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-05/0.1411, allocations: 24.84 kB / 389.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1411, allocations: 8 kB / 389.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009899/0.1421, allocations: 1.284 MB / 390.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1421, allocations: 8.094 kB / 390.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1425, allocations: 345.5 kB / 391.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1426, allocations: 19.86 kB / 391.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1426, allocations: 11.94 kB / 391.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1428, allocations: 15.98 kB / 391.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1428, allocations: 15.97 kB / 391.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1428, allocations: 8 kB / 391.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.143, allocations: 153.5 kB / 391.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.143, allocations: 4.062 kB / 391.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1433, allocations: 67.89 kB / 391.6 MB, free: 2.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.1434, allocations: 103.2 kB / 391.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.1438, allocations: 262.4 kB / 391.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1438, allocations: 3.938 kB / 391.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.1441, allocations: 187 kB / 392.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1444, allocations: 39.14 kB / 392.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1458, allocations: 0.6361 MB / 392.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1459, allocations: 138.4 kB / 392.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.578e-05/0.146, allocations: 21.94 kB / 392.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.146, allocations: 20.5 kB / 393 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.146, allocations: 0 / 393 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Templates: time 0.006109/0.1522, allocations: 2.462 MB / 395.4 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.418200731975958]