Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003665/0.0003665, 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.0004007/0.0004007, 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.2699/0.2699, 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.StateGraph.Examples.ShowCompositeStep,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=5022,outputFormat="mat",variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.StateGraph.Examples.ShowCompositeStep,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=5022,outputFormat="mat",variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.01e-07/5.01e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.234e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.006834/0.006856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004806/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.01255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.01316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.01563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002172/0.0178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.01926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.0208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.02146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.02241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.02294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002121/0.02506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001161/0.02518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.382e-06/0.02518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.718e-05/0.02519, 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.003371/0.02857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001037/0.02867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/0.02957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.03156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.03177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.03214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.03624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/0.03631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.03657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.03661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.03959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009515/0.04911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.05158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.0528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.0529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.05454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=104): time 1.574e-05/0.05455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=104): time 0.004395/0.05895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.05905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.06002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.06034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.06083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005652/0.0614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.06252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002579/0.06278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.06397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.06561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.06783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.06785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=165) (initialization): time 0.003988/0.07184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.688e-05/0.07191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.07194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.325e-05/0.07198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/0.07273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.705e-05/0.07277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.07341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.07364, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.stateGraphRoot.suspend,compositeStep.stateGraphRoot.resume,stateGraphRoot.activeSteps,Parallel1.outPort.available,transition7.enableFire,transition7.localCondition,step6.oldActive,$PRE.step6.oldActive,step6.newActive,$PRE.step6.newActive,step6.localActive,$PRE.step6.localActive,step6.active,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step1.oldActive,$PRE.step1.oldActive,step1.newActive,$PRE.step1.newActive,step1.localActive,$PRE.step1.localActive,step1.active,transition1.t_start,$PRE.transition1.t_start,transition1.outPort.occupied,transition1.fire,transition1.enableFire,step0.oldActive,$PRE.step0.oldActive,step0.newActive,$PRE.step0.newActive,step0.localActive,$PRE.step0.localActive,step0.active,compositeStep.Alternative1.split[3].available,compositeStep.Alternative1.split[2].available,compositeStep.exitStep.oldActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.localActive,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.active,compositeStep.initStep.oldActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.localActive,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.active,compositeStep.transition6a.t_start,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.fire,compositeStep.transition6a.enableFire,compositeStep.step4a.oldActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.active,compositeStep.transition4a.t_start,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.enableFire,compositeStep.transition6.t_start,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.fire,compositeStep.transition6.enableFire,compositeStep.transition5.t_start,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.fire,compositeStep.transition5.enableFire,compositeStep.step4.oldActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.localActive,compositeStep.step4.active,compositeStep.step3.oldActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.localActive,compositeStep.step3.active,compositeStep.transition4.t_start,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.fire,compositeStep.transition4.enableFire,compositeStep.transition3.t_start,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.fire,compositeStep.transition3.enableFire,compositeStep.activeSteps,compositeStep.newActive,$PRE.compositeStep.newActive,compositeStep.active,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0009844/0.07463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.07503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.07812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.07814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.07815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.07817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.0846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.08462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.0851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.08512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.08527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.08529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.08529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.08832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.08861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.08888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.08936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007388/0.0901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.09026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003038/0.09056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.394e-06/0.09057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002087/0.09266, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.active,transition2.enableFire,transition1.enableFire,step1.active,step0.active,compositeStep.exitStep.active,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.active,compositeStep.transition3.enableFire,compositeStep.step4a.active,compositeStep.step4.active,compositeStep.step3.active,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.localActive,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step4.localActive,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.localActive,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.localActive,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.localActive,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.localActive,step6.newActive,step6.oldActive,transition7.localCondition,transition7.enableFire,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0006273/0.09328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002866/0.09615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.09615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001317/0.09747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.09943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.1047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.1051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0007907/0.1059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/0.1066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.237e-05/0.1067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002393/0.1091, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.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: 1.162345111835748]