Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001645/0.001645, 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.001468/0.001468, 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2248, allocations: 53.36 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002673/0.2275, allocations: 1.489 MB / 433.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.2277, allocations: 91.7 kB / 433.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.2278, allocations: 7.875 kB / 433.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2278, allocations: 0 / 433.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.2279, allocations: 7.938 kB / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2281, allocations: 23.91 kB / 433.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.2282, allocations: 27.92 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2283, allocations: 15.97 kB / 434 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.2283, allocations: 7.938 kB / 434 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.2284, allocations: 7.938 kB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2284, allocations: 4 kB / 434 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.2284, allocations: 0 / 434 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2284, allocations: 11.98 kB / 434 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.2284, allocations: 11.88 kB / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.019e-05/0.2285, allocations: 34.84 kB / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2285, allocations: 0 / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2285, allocations: 4 kB / 434.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.2285, allocations: 0 / 434.1 MB, free: 5.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003942/0.2289, allocations: 258.3 kB / 434.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.229, allocations: 12.02 kB / 434.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.229, allocations: 8.891 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2292, allocations: 122.4 kB / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.2292, allocations: 384 / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.2292, allocations: 4.375 kB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2295, allocations: 111.9 kB / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2295, allocations: 192 / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2295, allocations: 3.938 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2295, allocations: 0 / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.2296, allocations: 11.98 kB / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.2297, allocations: 109.3 kB / 434.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.2299, allocations: 62.48 kB / 434.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.23, allocations: 16.89 kB / 434.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.23, allocations: 4 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.23, allocations: 34.59 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.875e-06/0.23, allocations: 3.984 kB / 434.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.2302, allocations: 69.61 kB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2303, allocations: 59.41 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.2304, allocations: 109.8 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2304, allocations: 29.7 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.2304, allocations: 80.14 kB / 435.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.2304, allocations: 7.938 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.2305, allocations: 13.72 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2306, allocations: 314.8 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.2306, allocations: 7.984 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.2306, allocations: 31.31 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.2307, allocations: 39.38 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2307, allocations: 0 / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.195e-05/0.2308, allocations: 53.88 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2308, allocations: 4 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2308, allocations: 4 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2308, allocations: 7.938 kB / 435.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.2309, allocations: 8 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.2309, allocations: 7.969 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.2309, allocations: 11.89 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2309, allocations: 8.125 kB / 435.7 MB, free: 3.336 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: 0 () * 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.745e-05/0.231, allocations: 109.8 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2311, allocations: 53.69 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.2311, allocations: 4 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2311, allocations: 3.938 kB / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2311, allocations: 7.984 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2311, allocations: 0 / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.004e-05/0.2312, allocations: 101.3 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2312, allocations: 0 / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.2313, allocations: 11.98 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2313, allocations: 4 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2313, allocations: 0 / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2313, allocations: 0 / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.2313, allocations: 7.875 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2314, allocations: 85.06 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.2314, allocations: 4 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2314, allocations: 0 / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.2315, allocations: 0 / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-06/0.2315, allocations: 3.938 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.2315, allocations: 8 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.2315, allocations: 87.27 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2315, allocations: 0 / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.2317, allocations: 4 kB / 436.2 MB, free: 2.777 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: 0 () * 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.889e-05/0.2318, allocations: 99.25 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.2319, allocations: 23.92 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2319, allocations: 0 / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2319, allocations: 3.938 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2321, allocations: 24.75 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.2324, allocations: 121.6 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.2324, allocations: 63.34 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.065e-05/0.2325, allocations: 0 / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2325, allocations: 11.38 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2325, allocations: 0 / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Templates: time 0.002444/0.2349, allocations: 374 kB / 436.9 MB, free: 2.023 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.16078597100568]