Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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.001306/0.001306, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.00139/0.00139, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.501/1.501, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003518/0.1379, allocations: 1.882 MB / 429 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1393, allocations: 0.6661 MB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1394, allocations: 7.938 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1395, allocations: 23.73 kB / 429.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1397, allocations: 39.66 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.14, allocations: 83.78 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1403, allocations: 163.4 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1405, allocations: 48.28 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1407, allocations: 79.64 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1409, allocations: 83.59 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.1409, allocations: 19.88 kB / 430.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.141, allocations: 24 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.1411, allocations: 43.84 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1412, allocations: 87.47 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1415, allocations: 195 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1415, allocations: 0 / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1415, allocations: 0 / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1415, allocations: 0 / 430.6 MB, free: 1.039 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009878/0.1425, allocations: 0.5208 MB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1425, allocations: 12.03 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1427, allocations: 36.78 kB / 431.1 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.143, allocations: 232 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.143, allocations: 12.64 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.1431, allocations: 16.38 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1435, allocations: 199.3 kB / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1435, allocations: 0 / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1435, allocations: 4 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.1435, allocations: 11.92 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1438, allocations: 139.9 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.145, allocations: 0.7779 MB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1453, allocations: 165 kB / 432.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1455, allocations: 73.8 kB / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.1455, allocations: 0 / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.1458, allocations: 137 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1458, allocations: 0 / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.000618/0.1464, allocations: 265.7 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1465, allocations: 81.11 kB / 433.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1467, allocations: 211 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1467, allocations: 33.69 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1468, allocations: 136.3 kB / 433.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1469, allocations: 51.62 kB / 433.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.1469, allocations: 45.7 kB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1471, allocations: 330.8 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.1473, allocations: 71.95 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1475, allocations: 122.8 kB / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.1478, allocations: 210.5 kB / 434.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1478, allocations: 4 kB / 434.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004319/0.1482, allocations: 237.3 kB / 434.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1483, allocations: 8 kB / 434.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1483, allocations: 0 / 434.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1483, allocations: 4 kB / 434.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1484, allocations: 35.91 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1485, allocations: 8.188 kB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.1486, allocations: 27.88 kB / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1486, allocations: 11.98 kB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1488, allocations: 145.7 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1488, allocations: 15.91 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.1493, allocations: 218.8 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1493, allocations: 8 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1493, allocations: 3.984 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1493, allocations: 0 / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1496, allocations: 273.5 kB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1496, allocations: 3.938 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1497, allocations: 19.98 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1497, allocations: 0 / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1497, allocations: 7.984 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1497, allocations: 3.938 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1497, allocations: 0 / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.1502, allocations: 240 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.1502, allocations: 89.02 kB / 435.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1503, allocations: 0 / 435.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1504, allocations: 23.97 kB / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.1505, allocations: 15.98 kB / 435.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1505, allocations: 8 kB / 435.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1506, allocations: 148.7 kB / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1506, allocations: 0 / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1509, allocations: 39.89 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.1511, allocations: 99.28 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.1515, allocations: 175.9 kB / 436.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1515, allocations: 0 / 436.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1516, allocations: 84.19 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.152, allocations: 47.98 kB / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.1527, allocations: 369 kB / 436.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1531, allocations: 0.7438 MB / 437.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1532, allocations: 33.52 kB / 437.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1532, allocations: 19.44 kB / 437.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1532, allocations: 0 / 437.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of Templates: time 0.005928/0.1592, allocations: 2.141 MB / 439.7 MB, free: 7.461 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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.753929432481527]