Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002761, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002244, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9536/0.9536, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1518/1.105, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.654e-05, allocations: 6.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002493/0.00252, allocations: 1.904 MB / 223.7 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003526, allocations: 0.6356 MB / 224.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.003662, allocations: 0 / 224.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.003766, allocations: 35.61 kB / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.003877, allocations: 35.72 kB / 224.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004126, allocations: 75.72 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.004329, allocations: 159.4 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.004473, allocations: 54.3 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.004649, allocations: 128.6 kB / 224.8 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.004793, allocations: 59.8 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.004822, allocations: 12 kB / 224.9 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.004918, allocations: 27.98 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.004974, allocations: 39.8 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.005022, allocations: 35.88 kB / 225 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.005207, allocations: 127.5 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.005222, allocations: 0 / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005223, allocations: 4 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.005239, allocations: 0 / 225.1 MB, free: 12.82 MB / 234.7 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.000593/0.005832, allocations: 439.8 kB / 225.6 MB, free: 12.37 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005863, allocations: 16.03 kB / 225.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.005909, allocations: 24.91 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.006097, allocations: 173.2 kB / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.006117, allocations: 12.66 kB / 225.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.006134, allocations: 12.38 kB / 225.8 MB, free: 12.11 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.006337, allocations: 163 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006347, allocations: 4.188 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006359, allocations: 4.375 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.00638, allocations: 11.92 kB / 226 MB, free: 11.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.006455, allocations: 57.53 kB / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.007014, allocations: 0.5592 MB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.007191, allocations: 186.7 kB / 226.8 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.007228, allocations: 29.84 kB / 226.8 MB, free: 11.03 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.007274, allocations: 7.984 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.007425, allocations: 111.8 kB / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.007426, allocations: 0 / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001913/0.007618, allocations: 123.7 kB / 227.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.007663, allocations: 81.11 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007764, allocations: 187.5 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.007781, allocations: 33.7 kB / 227.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.007838, allocations: 124.5 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.007865, allocations: 55.56 kB / 227.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.007909, allocations: 37.69 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.008, allocations: 334.8 kB / 227.9 MB, free: 9.867 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.008037, allocations: 22.81 kB / 227.9 MB, free: 9.844 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.008093, allocations: 82.75 kB / 228 MB, free: 9.738 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.0082, allocations: 123.1 kB / 228.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008203, allocations: 0 / 228.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001383/0.008341, allocations: 143.2 kB / 228.3 MB, free: 9.441 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008353, allocations: 4 kB / 228.3 MB, free: 9.438 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008359, allocations: 4 kB / 228.3 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.008369, allocations: 7.938 kB / 228.3 MB, free: 9.426 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.008477, allocations: 35.92 kB / 228.3 MB, free: 9.391 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.008481, allocations: 4 kB / 228.3 MB, free: 9.387 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.008538, allocations: 23.88 kB / 228.3 MB, free: 9.363 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.008546, allocations: 4 kB / 228.3 MB, free: 9.359 MB / 234.7 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 8.037e-05/0.008627, allocations: 128.6 kB / 228.5 MB, free: 9.223 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.008645, allocations: 16.05 kB / 228.5 MB, free: 9.207 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.008806, allocations: 115 kB / 228.6 MB, free: 9.094 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.00881, allocations: 7.938 kB / 228.6 MB, free: 9.086 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008812, allocations: 0 / 228.6 MB, free: 9.086 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008815, allocations: 0 / 228.6 MB, free: 9.086 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.008943, allocations: 117.8 kB / 228.7 MB, free: 8.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.008948, allocations: 7.984 kB / 228.7 MB, free: 8.945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.009006, allocations: 19.98 kB / 228.7 MB, free: 8.926 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.009022, allocations: 19.83 kB / 228.8 MB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.009025, allocations: 0 / 228.8 MB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.009034, allocations: 4 kB / 228.8 MB, free: 8.902 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.009036, allocations: 7.938 kB / 228.8 MB, free: 8.895 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.009038, allocations: 0 / 228.8 MB, free: 8.895 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.009153, allocations: 130.4 kB / 228.9 MB, free: 8.742 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.009168, allocations: 4 kB / 228.9 MB, free: 8.738 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.00921, allocations: 15.98 kB / 228.9 MB, free: 8.723 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.009252, allocations: 19.91 kB / 228.9 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.009259, allocations: 8 kB / 228.9 MB, free: 8.695 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.009298, allocations: 53.77 kB / 229 MB, free: 8.641 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009299, allocations: 0 / 229 MB, free: 8.641 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.009454, allocations: 39.89 kB / 229 MB, free: 8.602 MB / 234.7 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.0001205/0.009574, allocations: 88.36 kB / 229.1 MB, free: 8.504 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.009707, allocations: 80.75 kB / 229.2 MB, free: 8.422 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.009716, allocations: 4 kB / 229.2 MB, free: 8.418 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.009766, allocations: 45.33 kB / 229.2 MB, free: 8.371 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.009954, allocations: 56.05 kB / 229.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.01093, allocations: 371.3 kB / 229.7 MB, free: 7.918 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.01098, allocations: 83.92 kB / 229.7 MB, free: 7.816 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.01106, allocations: 13.48 kB / 229.8 MB, free: 7.805 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.01116, allocations: 83.36 kB / 229.8 MB, free: 7.723 MB / 234.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01116, allocations: 0 / 229.8 MB, free: 7.723 MB / 234.7 MB Notification: Performance of Templates: time 0.004256/0.01542, allocations: 2.399 MB / 232.2 MB, free: 5.348 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.718385821208358]