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.001144/0.001144, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2274, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002701/0.2302, allocations: 1.705 MB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.2308, allocations: 291.2 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.2309, allocations: 4 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.2311, allocations: 31.61 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.2311, allocations: 19.8 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2315, allocations: 111.8 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.2318, allocations: 271.5 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.2321, allocations: 185.5 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.2322, allocations: 95.69 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2324, allocations: 99.53 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2324, allocations: 24 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.2325, allocations: 31.98 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.2325, allocations: 51.91 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.908e-05/0.2326, allocations: 111.4 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.2329, allocations: 254.8 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.233, allocations: 0 / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.233, allocations: 3.938 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.233, allocations: 0 / 413.2 MB, free: 14.34 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.0006305/0.2336, allocations: 494.4 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2337, allocations: 12.03 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.2339, allocations: 36.78 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2341, allocations: 232.1 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.2342, allocations: 24.88 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.2342, allocations: 24.38 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.2346, allocations: 270.6 kB / 414.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2347, allocations: 192 / 414.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2347, allocations: 19.92 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2347, allocations: 8 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.235, allocations: 169.5 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2361, allocations: 0.9519 MB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2364, allocations: 172.7 kB / 415.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2365, allocations: 85.72 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2365, allocations: 4 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.2367, allocations: 136.1 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.003e-06/0.2367, allocations: 0 / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004143/0.2372, allocations: 217.3 kB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.2372, allocations: 89.09 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2373, allocations: 145.9 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2374, allocations: 49.69 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.2375, allocations: 140.7 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.2375, allocations: 59.52 kB / 416.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.2376, allocations: 85.45 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2378, allocations: 330.8 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2379, allocations: 67.91 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.2381, allocations: 140.5 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.2383, allocations: 192.3 kB / 417.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2383, allocations: 0 / 417.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003767/0.2387, allocations: 261.4 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2387, allocations: 6.969 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2387, allocations: 7.938 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2388, allocations: 4 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2389, allocations: 31.92 kB / 417.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2389, allocations: 7.984 kB / 417.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.239, allocations: 27.83 kB / 417.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.239, allocations: 8 kB / 417.6 MB, free: 9.559 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.0001411/0.2392, allocations: 169.8 kB / 417.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2392, allocations: 11.91 kB / 417.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.2393, allocations: 20.84 kB / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2393, allocations: 0 / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2393, allocations: 3.984 kB / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2393, allocations: 92.95 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2394, allocations: 4 kB / 417.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.2394, allocations: 11.94 kB / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.2395, allocations: 23.91 kB / 417.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003807/0.2399, allocations: 347.1 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003365/0.2403, allocations: 417.8 kB / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001127/0.2404, allocations: 71.95 kB / 418.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.2404, allocations: 110.9 kB / 418.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.2405, allocations: 0 / 418.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.241, allocations: 206.5 kB / 419.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006634/0.2417, allocations: 0.7344 MB / 419.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of Templates: time 0.004696/0.2464, allocations: 1.863 MB / 421.7 MB, free: 5.406 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