Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001694/0.001694, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001938/0.001938, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 44.02 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2305, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002629/0.2332, allocations: 1.461 MB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.2334, allocations: 91.7 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.2335, allocations: 3.938 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2335, allocations: 0 / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.2335, allocations: 7.938 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2337, allocations: 23.91 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.2338, allocations: 27.92 kB / 433.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.2339, allocations: 8 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.234, allocations: 19.91 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.234, allocations: 11.94 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.234, allocations: 0 / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.234, allocations: 4 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.234, allocations: 11.92 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2341, allocations: 7.938 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.621e-05/0.2341, allocations: 26.86 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.2342, allocations: 4 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2342, allocations: 0 / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2342, allocations: 0 / 434 MB, free: 5.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003818/0.2345, allocations: 272.2 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2346, allocations: 12.03 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.2346, allocations: 4.891 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2348, allocations: 126.4 kB / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2348, allocations: 384 / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2348, allocations: 4.375 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2351, allocations: 107.9 kB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2351, allocations: 4.188 kB / 434.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2351, allocations: 3.938 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2351, allocations: 0 / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.2352, allocations: 19.97 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.2353, allocations: 109.3 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2355, allocations: 46.56 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.2355, allocations: 28.86 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2356, allocations: 3.938 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2356, allocations: 34.56 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2356, allocations: 0 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.2358, allocations: 73.59 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.2358, allocations: 59.41 kB / 434.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.2359, allocations: 105.8 kB / 435 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2359, allocations: 25.7 kB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.236, allocations: 80.14 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.236, allocations: 8 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.236, allocations: 13.66 kB / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2362, allocations: 326.8 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.2362, allocations: 3.984 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.2362, allocations: 27.44 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.2362, allocations: 31.38 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2362, allocations: 4 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.512e-05/0.2363, allocations: 57.83 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2363, allocations: 8.125 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2363, allocations: 0 / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2364, allocations: 7.938 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.2364, allocations: 12 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2364, allocations: 3.984 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.2364, allocations: 4 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.2364, allocations: 3.938 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.016e-05/0.2365, allocations: 109.8 kB / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2366, allocations: 57.69 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.2366, allocations: 8 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2367, allocations: 7.922 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2367, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2367, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.551e-05/0.2367, allocations: 101.3 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2367, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.2368, allocations: 11.98 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2368, allocations: 0 / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2368, allocations: 0 / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.2368, allocations: 0 / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.2368, allocations: 7.875 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.237, allocations: 93.39 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.237, allocations: 4.031 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.237, allocations: 0 / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.237, allocations: 8 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-06/0.237, allocations: 3.938 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.237, allocations: 0 / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.2371, allocations: 87.2 kB / 436.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2371, allocations: 4 kB / 436.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.2372, allocations: 4 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.093e-05/0.2373, allocations: 99.25 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.2374, allocations: 31.86 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2374, allocations: 0 / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2374, allocations: 0 / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2377, allocations: 19.98 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.2379, allocations: 121.5 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.238, allocations: 67.34 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.238, allocations: 8.25 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.238, allocations: 7.438 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.238, allocations: 0 / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Templates: time 0.002358/0.2404, allocations: 362 kB / 436.8 MB, free: 1.895 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.248476933993516]