Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.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.001018/0.001018, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002221, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007635/0.0007635, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001852, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.042/1.042, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08739/1.13, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.572e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002472/0.002488, allocations: 1.92 MB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.00653, allocations: 0.6969 MB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.006619, allocations: 7.938 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.006704, allocations: 27.67 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.006793, allocations: 35.59 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.007017, allocations: 99.62 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.007209, allocations: 179.4 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.007338, allocations: 51.64 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.007531, allocations: 128.4 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.007675, allocations: 71.78 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.007702, allocations: 12 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.007798, allocations: 35.92 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.007845, allocations: 27.88 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.007903, allocations: 43.88 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.008117, allocations: 155.3 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.008131, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.008131, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.008147, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003613/0.01176, allocations: 439.5 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.01179, allocations: 12.62 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.01194, allocations: 110 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.01214, allocations: 179.6 kB / 249.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01216, allocations: 12.38 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.01219, allocations: 24.36 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.01242, allocations: 177.1 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01243, allocations: 4 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.01244, allocations: 4 kB / 249.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.01246, allocations: 8 kB / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.01255, allocations: 51.62 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.01312, allocations: 0.572 MB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01338, allocations: 155.9 kB / 250.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.01341, allocations: 20.86 kB / 250.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.01345, allocations: 4 kB / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.0136, allocations: 111.8 kB / 250.3 MB, free: 8.137 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.0136, allocations: 0 / 250.3 MB, free: 8.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002007/0.0138, allocations: 119.4 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.01385, allocations: 85.11 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01398, allocations: 211.3 kB / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01399, allocations: 33.7 kB / 250.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.01405, allocations: 128.3 kB / 250.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01408, allocations: 35.73 kB / 250.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.01415, allocations: 61.61 kB / 251 MB, free: 7.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.003334/0.01748, allocations: 334.8 kB / 251.3 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.01753, allocations: 26.81 kB / 251.4 MB, free: 7.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.01761, allocations: 89.16 kB / 251.4 MB, free: 6.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01775, allocations: 152.8 kB / 251.6 MB, free: 6.758 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01775, allocations: 0 / 251.6 MB, free: 6.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001789/0.01793, allocations: 143.1 kB / 251.7 MB, free: 6.609 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01794, allocations: 4.25 kB / 251.7 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01795, allocations: 11.98 kB / 251.8 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.01796, allocations: 4 kB / 251.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01809, allocations: 43.92 kB / 251.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.0181, allocations: 7.938 kB / 251.8 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.01818, allocations: 23.88 kB / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.01819, allocations: 8 kB / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,showValue.number,showValue1.number,showValue2.number,triggeredAdd.local_reset,triggeredAdd.local_set,multiSwitch1.expr[1],multiSwitch1.expr[2],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.261e-05/0.01828, allocations: 142.5 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01831, allocations: 19.98 kB / 252 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.01843, allocations: 83.12 kB / 252.1 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01843, allocations: 4 kB / 252.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01843, allocations: 0 / 252.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01843, allocations: 0 / 252.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.01873, allocations: 330.5 kB / 252.4 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01873, allocations: 0 / 252.4 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.0188, allocations: 19.92 kB / 252.4 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01882, allocations: 15.91 kB / 252.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01882, allocations: 0 / 252.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01883, allocations: 8.109 kB / 252.4 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01883, allocations: 8 kB / 252.5 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01883, allocations: 3.938 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.01899, allocations: 209.7 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01901, allocations: 7.938 kB / 252.7 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.0191, allocations: 11.98 kB / 252.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.01915, allocations: 19.97 kB / 252.7 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01916, allocations: 4 kB / 252.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.01921, allocations: 63.02 kB / 252.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01921, allocations: 0 / 252.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.01945, allocations: 43.89 kB / 252.8 MB, free: 5.48 MB / 250.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: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001132/0.01956, allocations: 88.41 kB / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01971, allocations: 97.11 kB / 253 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.01972, allocations: 7.938 kB / 253 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.01978, allocations: 40.77 kB / 253 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.02, allocations: 44.59 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.02397, allocations: 355.7 kB / 253.4 MB, free: 4.812 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.02402, allocations: 76.28 kB / 253.5 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.02409, allocations: 17.48 kB / 253.5 MB, free: 4.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.02419, allocations: 83.34 kB / 253.6 MB, free: 4.621 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02419, allocations: 4 kB / 253.6 MB, free: 4.617 MB / 250.7 MB Notification: Performance of Templates: time 0.007576/0.03176, allocations: 2.278 MB / 255.9 MB, free: 2.363 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.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.537332003004849]