Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002072, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3206, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002947/0.3235, allocations: 1.705 MB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.3243, allocations: 291.1 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3244, allocations: 7.938 kB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3246, allocations: 31.67 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.3247, allocations: 15.81 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.325, allocations: 119.8 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3254, allocations: 267.5 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.3257, allocations: 185.5 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3258, allocations: 83.72 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.326, allocations: 107.5 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.326, allocations: 24 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.3261, allocations: 31.94 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.3262, allocations: 59.83 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3263, allocations: 99.52 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.3267, allocations: 251.1 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3267, allocations: 0 / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3267, allocations: 3.938 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3268, allocations: 0 / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007433/0.3275, allocations: 0.4919 MB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3276, allocations: 8.031 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.3278, allocations: 28.73 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3282, allocations: 232 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.3282, allocations: 24.94 kB / 413.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.3282, allocations: 28.36 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.3287, allocations: 270.5 kB / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3287, allocations: 4.172 kB / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.3288, allocations: 11.92 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3288, allocations: 12 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.3291, allocations: 161.6 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3302, allocations: 0.9555 MB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3305, allocations: 170.6 kB / 415.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3306, allocations: 85.64 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3306, allocations: 0 / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.3309, allocations: 137 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.3309, allocations: 0 / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004587/0.3313, allocations: 224.5 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3314, allocations: 85.05 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3315, allocations: 153.6 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3316, allocations: 33.83 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3317, allocations: 148.5 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.3318, allocations: 59.27 kB / 416.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3319, allocations: 77.47 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3321, allocations: 326.8 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3322, allocations: 67.91 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3324, allocations: 136.5 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3327, allocations: 196.3 kB / 417.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3328, allocations: 3.984 kB / 417.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004296/0.3332, allocations: 253.4 kB / 417.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3332, allocations: 8 kB / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3332, allocations: 0 / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.3333, allocations: 4 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3334, allocations: 35.92 kB / 417.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3334, allocations: 7.984 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3336, allocations: 31.62 kB / 417.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3336, allocations: 12 kB / 417.6 MB, free: 9.562 MB / 334.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: 32 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.localCondition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,transition2.t_start,$PRE.transition2.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001845/0.3338, allocations: 173.6 kB / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3338, allocations: 7.906 kB / 417.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3339, allocations: 28.83 kB / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3339, allocations: 0 / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3339, allocations: 0 / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.334, allocations: 92.86 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.334, allocations: 8 kB / 417.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.3341, allocations: 15.92 kB / 417.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3342, allocations: 15.98 kB / 417.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004196/0.3346, allocations: 348 kB / 418.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003867/0.335, allocations: 415 kB / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001164/0.3351, allocations: 73.19 kB / 418.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.3352, allocations: 103.1 kB / 418.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of Backend: time 5.11e-07/0.3352, allocations: 32 / 418.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.3359, allocations: 218.5 kB / 419 MB, free: 8.035 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007965/0.3367, allocations: 0.7309 MB / 419.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of Templates: time 0.005737/0.3424, allocations: 1.866 MB / 421.6 MB, free: 5.402 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/FirstExample_Variant3/FirstExample_Variant3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches