Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [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.002253/0.002253, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+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: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2208, allocations: 53.37 MB / 432.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002726/0.2235, allocations: 1.652 MB / 434 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006314/0.2241, allocations: 295.1 kB / 434.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.2242, allocations: 0 / 434.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2243, allocations: 31.67 kB / 434.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.2244, allocations: 23.78 kB / 434.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.2247, allocations: 123.8 kB / 434.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.2251, allocations: 279.4 kB / 434.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2254, allocations: 168.9 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2255, allocations: 91.7 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.2256, allocations: 103.5 kB / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.2257, allocations: 24 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.281e-05/0.2257, allocations: 28 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.2258, allocations: 55.83 kB / 435.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2259, allocations: 91.52 kB / 435.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.2262, allocations: 266.9 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2262, allocations: 0 / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2262, allocations: 0 / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.2262, allocations: 4 kB / 435.5 MB, free: 3.688 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.0006374/0.2269, allocations: 425.2 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2269, allocations: 8.031 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.2272, allocations: 36.77 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2274, allocations: 170.3 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.2274, allocations: 24.81 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.2275, allocations: 28.38 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.228, allocations: 269.8 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.228, allocations: 192 / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.228, allocations: 19.94 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.228, allocations: 4 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.2283, allocations: 165.5 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2294, allocations: 0.8357 MB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2296, allocations: 157.4 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.2298, allocations: 69.62 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2298, allocations: 4 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.23, allocations: 133.1 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.23, allocations: 4 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004238/0.2304, allocations: 228.8 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2305, allocations: 81.11 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2306, allocations: 157.6 kB / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.2307, allocations: 41.7 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.2308, allocations: 140.8 kB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.2308, allocations: 63.48 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2309, allocations: 73.69 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2311, allocations: 330.8 kB / 438.9 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2312, allocations: 75.62 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.2314, allocations: 136.7 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2317, allocations: 192.8 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.2317, allocations: 3.938 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004018/0.2321, allocations: 257.3 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2321, allocations: 8 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2321, allocations: 3.938 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2321, allocations: 4 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2322, allocations: 31.92 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2322, allocations: 4 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2324, allocations: 36.05 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2324, allocations: 12 kB / 439.7 MB, free: 15.23 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.0001478/0.2325, allocations: 161.7 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.2326, allocations: 19.89 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.2326, allocations: 16.94 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2326, allocations: 0 / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2326, allocations: 4 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.2326, allocations: 15.88 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2326, allocations: 4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.2327, allocations: 4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.2328, allocations: 31.84 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003992/0.2332, allocations: 344 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003742/0.2335, allocations: 423.4 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001296/0.2337, allocations: 74.73 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.2337, allocations: 97.52 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2337, allocations: 0 / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.2343, allocations: 194.7 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007188/0.235, allocations: 0.7541 MB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Templates: time 0.005395/0.2404, allocations: 2.19 MB / 444 MB, free: 10.88 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample_Variant2/FirstExample_Variant2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.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.323467440000968]