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.000831/0.000831, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003416/0.003416, allocations: 157.9 kB / 24.7 MB, free: 8.906 MB / 18.57 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 0.8674/0.8674, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.027e-05, allocations: 6.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002003/0.002023, allocations: 1.838 MB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.002837, allocations: 0.6232 MB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.002927, allocations: 7.938 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.003035, allocations: 27.67 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.003162, allocations: 39.59 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.003419, allocations: 83.78 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.003592, allocations: 175.3 kB / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003724, allocations: 44.34 kB / 328.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.003874, allocations: 111.6 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.003984, allocations: 63.8 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.004006, allocations: 16 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.004068, allocations: 27.98 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.004125, allocations: 39.83 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.004176, allocations: 47.84 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004383, allocations: 199.2 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004386, allocations: 4 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004387, allocations: 0 / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004392, allocations: 0 / 329.1 MB, free: 12.04 MB / 298.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.0005747/0.004966, allocations: 453.3 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.004999, allocations: 11.98 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.005098, allocations: 32.78 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.005283, allocations: 180.9 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.005298, allocations: 16.66 kB / 329.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.005316, allocations: 12.38 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.005551, allocations: 204 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.005561, allocations: 4.188 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.005574, allocations: 4.375 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.005595, allocations: 19.88 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.005779, allocations: 143.8 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.006399, allocations: 0.6761 MB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.006596, allocations: 161.1 kB / 331 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.006678, allocations: 73.8 kB / 331.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.006709, allocations: 0 / 331.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.00687, allocations: 157.1 kB / 331.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.51e-07/0.00687, allocations: 0 / 331.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003406/0.007211, allocations: 250.1 kB / 331.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.007251, allocations: 89.09 kB / 331.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.00737, allocations: 203 kB / 331.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007386, allocations: 29.7 kB / 331.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.007455, allocations: 140.4 kB / 331.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.007485, allocations: 47.64 kB / 332 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.00753, allocations: 41.7 kB / 332 MB, free: 8.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.007611, allocations: 330.8 kB / 332.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.007696, allocations: 67.95 kB / 332.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.007796, allocations: 127.6 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.007979, allocations: 202.9 kB / 332.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007981, allocations: 0 / 332.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002378/0.008219, allocations: 257.2 kB / 333 MB, free: 7.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.008233, allocations: 7.938 kB / 333 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008238, allocations: 4 kB / 333 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.008249, allocations: 0 / 333 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.008338, allocations: 27.98 kB / 333 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.008345, allocations: 11.92 kB / 333 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.008416, allocations: 27.97 kB / 333 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.008428, allocations: 12.12 kB / 333 MB, free: 7.812 MB / 298.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.289e-05/0.008511, allocations: 137.8 kB / 333.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.008528, allocations: 23.84 kB / 333.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.008776, allocations: 210.9 kB / 333.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008779, allocations: 4 kB / 333.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008783, allocations: 0 / 333.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008787, allocations: 0 / 333.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.008924, allocations: 193.2 kB / 333.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008925, allocations: 0 / 333.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.008974, allocations: 27.92 kB / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008976, allocations: 112 / 333.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.008986, allocations: 15.86 kB / 333.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008987, allocations: 0 / 333.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008988, allocations: 4 kB / 333.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.009192, allocations: 225.7 kB / 333.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.009209, allocations: 23.86 kB / 333.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.009224, allocations: 3.938 kB / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.009278, allocations: 23.97 kB / 333.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.009319, allocations: 11.98 kB / 333.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.009328, allocations: 11.98 kB / 333.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.009403, allocations: 136.6 kB / 334.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009403, allocations: 0 / 334.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000163/0.009566, allocations: 43.89 kB / 334.1 MB, free: 6.672 MB / 298.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.0001026/0.009669, allocations: 103.2 kB / 334.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.009887, allocations: 167.9 kB / 334.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.009888, allocations: 0 / 334.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.868e-05/0.009987, allocations: 79.89 kB / 334.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01019, allocations: 46.73 kB / 334.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01064, allocations: 408.7 kB / 334.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.01071, allocations: 129.2 kB / 335 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.01076, allocations: 24.5 kB / 335.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01076, allocations: 0 / 335.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of Templates: time 0.002799/0.01355, allocations: 2.488 MB / 337.5 MB, free: 3.195 MB / 298.7 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.636167585849762]