Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 108.3 kB / 18.41 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 182.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06997/0.07115, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002709/0.07388, allocations: 1.813 MB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.075, allocations: 0.6707 MB / 378.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.07512, allocations: 7.938 kB / 378.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.07526, allocations: 31.67 kB / 378.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.0754, allocations: 31.72 kB / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.07569, allocations: 79.78 kB / 378.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.07592, allocations: 175.5 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.07609, allocations: 74.61 kB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.07622, allocations: 75.64 kB / 378.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.07637, allocations: 91.59 kB / 378.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.07641, allocations: 16 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.07648, allocations: 16 kB / 378.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.07656, allocations: 51.84 kB / 378.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.07666, allocations: 95.39 kB / 379 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.0769, allocations: 195.2 kB / 379.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.07691, allocations: 0 / 379.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07692, allocations: 3.938 kB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.07693, allocations: 0 / 379.2 MB, free: 1.148 MB / 318.1 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.0008381/0.07777, allocations: 0.4986 MB / 379.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.07782, allocations: 12.03 kB / 379.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.07788, allocations: 20.75 kB / 379.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.07815, allocations: 247.8 kB / 380 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.07818, allocations: 16.38 kB / 380 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.07821, allocations: 12.38 kB / 380 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.0786, allocations: 213.6 kB / 380.2 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.07862, allocations: 0 / 380.2 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.07865, allocations: 8 kB / 380.2 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.07868, allocations: 7.859 kB / 380.2 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1443/0.223, allocations: 142.9 kB / 380.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2241, allocations: 0.7834 MB / 381.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.2247, allocations: 188.9 kB / 381.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2248, allocations: 63.98 kB / 381.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2249, allocations: 3.078 kB / 381.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.2251, allocations: 147.8 kB / 381.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.2252, allocations: 0 / 381.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005617/0.2257, allocations: 244.9 kB / 381.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.2258, allocations: 83.97 kB / 381.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.2259, allocations: 220.9 kB / 382.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.226, allocations: 28.36 kB / 382.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.226, allocations: 147 kB / 382.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.2261, allocations: 39.52 kB / 382.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.2262, allocations: 55.36 kB / 382.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2262, allocations: 331.7 kB / 382.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2264, allocations: 63.89 kB / 382.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.2265, allocations: 140.8 kB / 382.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.2269, allocations: 223.8 kB / 383.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2269, allocations: 2.875 kB / 383.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004907/0.2274, allocations: 249.2 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2274, allocations: 6.219 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2274, allocations: 2.75 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2275, allocations: 3.625 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2277, allocations: 37.81 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.2277, allocations: 12.16 kB / 383.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2279, allocations: 33.25 kB / 383.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2279, allocations: 11.89 kB / 383.5 MB, free: 11.59 MB / 318.1 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,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * 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 0.0001153/0.228, allocations: 150.3 kB / 383.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.2281, allocations: 16.88 kB / 383.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.2283, allocations: 130.5 kB / 383.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2284, allocations: 1.781 kB / 383.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2284, allocations: 0 / 383.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.2284, allocations: 100.1 kB / 383.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2284, allocations: 7.484 kB / 383.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2286, allocations: 14.8 kB / 383.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.2287, allocations: 26.78 kB / 383.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004901/0.2292, allocations: 358.7 kB / 384.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003803/0.2296, allocations: 438.4 kB / 384.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001617/0.2297, allocations: 83.36 kB / 384.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.2299, allocations: 148.4 kB / 384.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of Backend: time 5.01e-07/0.2299, allocations: 0 / 384.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.2305, allocations: 186.5 kB / 385.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005917/0.2311, allocations: 0.7746 MB / 385.9 MB, free: 9.828 MB / 318.1 MB Notification: Performance of Templates: time 0.005539/0.2367, allocations: 2.327 MB / 388.2 MB, free: 9.691 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches