Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.83 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2336, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003047/0.2366, allocations: 1.722 MB / 433.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.2373, allocations: 299.1 kB / 434 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2374, allocations: 3.938 kB / 434 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2375, allocations: 27.67 kB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.2376, allocations: 23.8 kB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.238, allocations: 115.8 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.2383, allocations: 259.6 kB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2386, allocations: 157.5 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2387, allocations: 95.64 kB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2389, allocations: 103.5 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.2389, allocations: 20 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.239, allocations: 32 kB / 434.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.2391, allocations: 63.81 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2392, allocations: 95.53 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.2395, allocations: 260.8 kB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2395, allocations: 0 / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2395, allocations: 4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2395, allocations: 4 kB / 435.3 MB, free: 4.137 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.0007092/0.2402, allocations: 494.4 kB / 435.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2403, allocations: 8.031 kB / 435.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.2405, allocations: 40.77 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.2408, allocations: 228.1 kB / 436 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.2409, allocations: 28.92 kB / 436.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.2409, allocations: 24.38 kB / 436.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.2414, allocations: 278.5 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2414, allocations: 192 / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.2414, allocations: 7.938 kB / 436.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2414, allocations: 8 kB / 436.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.2417, allocations: 161.6 kB / 436.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.2429, allocations: 0.9635 MB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2432, allocations: 161.5 kB / 437.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2434, allocations: 73.62 kB / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2434, allocations: 7.938 kB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.2436, allocations: 129.1 kB / 437.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.2436, allocations: 7.938 kB / 437.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004481/0.2441, allocations: 220.8 kB / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.2441, allocations: 81.11 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2442, allocations: 157.7 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2443, allocations: 37.7 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2444, allocations: 144.7 kB / 438.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.2444, allocations: 59.58 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2445, allocations: 81.59 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2447, allocations: 330.8 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2448, allocations: 67.91 kB / 439 MB, free: 128 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.245, allocations: 136.5 kB / 439.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2453, allocations: 200.3 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2453, allocations: 0 / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000418/0.2457, allocations: 245.3 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2457, allocations: 8 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2457, allocations: 0 / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2458, allocations: 4.281 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2459, allocations: 43.86 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.2459, allocations: 4 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.246, allocations: 27.78 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.246, allocations: 15.98 kB / 439.7 MB, free: 15.39 MB / 350.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.0001591/0.2462, allocations: 157.7 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.2462, allocations: 11.91 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.2463, allocations: 20.83 kB / 439.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2463, allocations: 0 / 439.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2463, allocations: 4 kB / 439.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.2463, allocations: 100.9 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2464, allocations: 4 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.2464, allocations: 15.92 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.2465, allocations: 19.97 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004131/0.2469, allocations: 344 kB / 440.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003907/0.2473, allocations: 428.7 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001108/0.2474, allocations: 59.97 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.883e-05/0.2475, allocations: 107 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.2475, allocations: 0 / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005943/0.2481, allocations: 202.9 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007438/0.2488, allocations: 0.7383 MB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Templates: time 0.005516/0.2543, allocations: 1.943 MB / 443.8 MB, free: 11.17 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample_Variant3/FirstExample_Variant3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1269737971015275]