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.0009295/0.0009295, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.001108/0.001108, allocations: 162 kB / 24.91 MB, free: 8.766 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.9947/0.9947, allocations: 177 MB / 205.2 MB, free: 5.434 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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.829e-05, allocations: 6.25 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002335/0.002353, allocations: 1.923 MB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.003302, allocations: 0.6696 MB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.003398, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.00353, allocations: 31.61 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.003663, allocations: 35.66 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.003911, allocations: 79.72 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.0041, allocations: 175.3 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.004251, allocations: 54.45 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.00442, allocations: 107.6 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004553, allocations: 67.78 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.00458, allocations: 12 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.004665, allocations: 24 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.004725, allocations: 43.83 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.004778, allocations: 51.83 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004978, allocations: 155.3 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00498, allocations: 0 / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004981, allocations: 0 / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.004986, allocations: 0 / 276.8 MB, free: 13.74 MB / 266.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.0004998/0.005486, allocations: 412.1 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.00552, allocations: 15.98 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.005631, allocations: 32.91 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.005827, allocations: 169.4 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.005849, allocations: 12.66 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.005863, allocations: 12.38 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.006045, allocations: 171.5 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.006055, allocations: 192 / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.006066, allocations: 4.375 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.006086, allocations: 15.92 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.006214, allocations: 49.56 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.006698, allocations: 0.5554 MB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.006835, allocations: 186.7 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.006868, allocations: 33.83 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.006892, allocations: 4.109 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.007001, allocations: 115.7 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.007002, allocations: 0 / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001706/0.007173, allocations: 119.2 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.007208, allocations: 77.11 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.007307, allocations: 206.2 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.007321, allocations: 29.7 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.007373, allocations: 124.3 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.007397, allocations: 51.62 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.007441, allocations: 45.69 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.007513, allocations: 334.8 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.007543, allocations: 22.81 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.007592, allocations: 70.84 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.007692, allocations: 131.7 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007694, allocations: 0 / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001246/0.007818, allocations: 135.1 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007833, allocations: 4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.00784, allocations: 7.984 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.007854, allocations: 7.938 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.007946, allocations: 31.92 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.00795, allocations: 4 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.008004, allocations: 32.06 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.008013, allocations: 7.938 kB / 280 MB, free: 10.29 MB / 266.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.638e-05/0.008099, allocations: 128.6 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.008115, allocations: 15.98 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.008262, allocations: 115 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.008265, allocations: 3.938 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.008267, allocations: 0 / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008271, allocations: 4 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.008376, allocations: 117.8 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008377, allocations: 4 kB / 280.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.008427, allocations: 23.92 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008429, allocations: 0 / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.008436, allocations: 0 / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008437, allocations: 4 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008438, allocations: 0 / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.008543, allocations: 138.3 kB / 280.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.008557, allocations: 23.78 kB / 280.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.008573, allocations: 11.94 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.008609, allocations: 7.984 kB / 280.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.008653, allocations: 23.91 kB / 280.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.00866, allocations: 12 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.442e-05/0.008694, allocations: 46.19 kB / 280.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.008694, allocations: 0 / 280.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.008832, allocations: 43.89 kB / 280.7 MB, free: 9.52 MB / 266.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 9.405e-05/0.008926, allocations: 87.67 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.00905, allocations: 80.69 kB / 280.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.009054, allocations: 4.375 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.009104, allocations: 44.77 kB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.009263, allocations: 40.67 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.009778, allocations: 359.7 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.009818, allocations: 75.98 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.009864, allocations: 17.48 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.009958, allocations: 87.34 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009959, allocations: 0 / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of Templates: time 0.003832/0.01379, allocations: 2.277 MB / 283.8 MB, free: 6.441 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 240] 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","",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.606624293141067]