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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004308/0.0004308, allocations: 0 / 0, free: 0 / 0 " [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.0003749/0.0003749, allocations: 0 / 0, free: 0 / 0 " [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.05533/0.05533, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Blocks.Examples.IntegerNetwork1,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=5052,outputFormat="mat",variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Blocks.Examples.IntegerNetwork1,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=5052,outputFormat="mat",variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.654e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.001845/0.001872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0009655/0.002837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.002907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 9.298e-05/0.003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.003085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.003278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000158/0.003436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.00366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.003732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.003752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.439e-05/0.003787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.003824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.003857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00015/0.004008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.00402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.112e-06/0.004021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.186e-06/0.004029, allocations: 0 / 0, free: 0 / 0 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.0007989/0.004828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.004893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.821e-05/0.004982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.005199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.005245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.005273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.005525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.005536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.005556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.005568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.005655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.006084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.006282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.006308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.006339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.006443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=15): time 2.043e-06/0.006445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=15): time 0.0001583/0.006603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.00663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.006706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.006735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.006767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.006789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.006834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.293e-05/0.006847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.006876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.006915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.006989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001155/0.007107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.007117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.007137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.007208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.007218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.00727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.007282, allocations: 0 / 0, free: 0 / 0 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 6.606e-05/0.007348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.007364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.007495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.007503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.007705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.007746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.007765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.007864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.007887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.007935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.007988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.008056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.008068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.141e-05/0.0081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.725e-06/0.008102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001954/0.008298, allocations: 0 / 0, free: 0 / 0 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.0001661/0.008464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001393/0.008603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.008608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.008649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.00893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.009318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.853e-05/0.009347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.694e-05/0.009393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.009491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.432e-05/0.009505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001079/0.01058, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 0.7232656124979258]