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.001977/0.001977, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002379/0.002379, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001579/0.001579, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.246, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003135/0.2491, allocations: 1.457 MB / 433 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.2494, allocations: 99.62 kB / 433.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.2495, allocations: 0 / 433.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.2495, allocations: 3.938 kB / 433.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.2496, allocations: 3.938 kB / 433.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.2499, allocations: 19.97 kB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.25, allocations: 27.92 kB / 433.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2501, allocations: 8 kB / 433.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.2502, allocations: 15.92 kB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2502, allocations: 11.92 kB / 433.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2502, allocations: 4 kB / 433.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2502, allocations: 3.938 kB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.2503, allocations: 8 kB / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.2503, allocations: 7.922 kB / 433.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2504, allocations: 31.56 kB / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2504, allocations: 0 / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2504, allocations: 0 / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2504, allocations: 4 kB / 433.3 MB, free: 4.988 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.0005218/0.251, allocations: 264.9 kB / 433.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.251, allocations: 11.97 kB / 433.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.2511, allocations: 12.88 kB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2514, allocations: 122.5 kB / 433.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2514, allocations: 4.375 kB / 433.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2514, allocations: 384 / 433.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.2518, allocations: 111.9 kB / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2518, allocations: 192 / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2519, allocations: 3.938 kB / 433.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2519, allocations: 4 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.252, allocations: 15.92 kB / 433.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2521, allocations: 105.3 kB / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2523, allocations: 54.58 kB / 434 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.2524, allocations: 24.89 kB / 434 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2524, allocations: 3.938 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2525, allocations: 34.56 kB / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2525, allocations: 0 / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.2527, allocations: 73.55 kB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2528, allocations: 59.39 kB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2529, allocations: 101.9 kB / 434.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.253, allocations: 25.7 kB / 434.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.253, allocations: 88.12 kB / 434.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.253, allocations: 8 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2531, allocations: 13.72 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2533, allocations: 314.8 kB / 434.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.2533, allocations: 7.984 kB / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.2534, allocations: 27.44 kB / 434.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.2534, allocations: 31.38 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2534, allocations: 0 / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.2535, allocations: 69.77 kB / 434.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2535, allocations: 4 kB / 434.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2535, allocations: 4 kB / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2536, allocations: 7.938 kB / 434.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.2537, allocations: 8 kB / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2537, allocations: 0 / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2537, allocations: 0 / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.2537, allocations: 4 kB / 434.9 MB, free: 3.199 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 0.0001313/0.2538, allocations: 121.8 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.2539, allocations: 58.03 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.254, allocations: 8 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.254, allocations: 7.969 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.254, allocations: 4 kB / 435.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.254, allocations: 3.984 kB / 435.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.2541, allocations: 97.33 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2541, allocations: 0 / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.2541, allocations: 7.984 kB / 435.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2542, allocations: 4 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2542, allocations: 0 / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2542, allocations: 4 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2542, allocations: 3.938 kB / 435.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2543, allocations: 89 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.2543, allocations: 4 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2543, allocations: 4 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.2544, allocations: 0 / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-06/0.2544, allocations: 3.938 kB / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2544, allocations: 4 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.2544, allocations: 87.2 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2544, allocations: 0 / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000209/0.2546, allocations: 12 kB / 435.4 MB, free: 2.613 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 0.0001205/0.2548, allocations: 95.25 kB / 435.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2549, allocations: 23.92 kB / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2549, allocations: 0 / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.2549, allocations: 4 kB / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2551, allocations: 20.02 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.2554, allocations: 121.8 kB / 435.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.2555, allocations: 67.34 kB / 435.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.2555, allocations: 0 / 435.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.2555, allocations: 11.44 kB / 435.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2555, allocations: 0 / 435.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Templates: time 0.002475/0.258, allocations: 352.6 kB / 436.1 MB, free: 1.883 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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.515169993042946]