Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001605/0.001605, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001762/0.001762, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2217, allocations: 53.35 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002692/0.2244, allocations: 1.457 MB / 433.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.2246, allocations: 35.84 kB / 433.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2247, allocations: 0 / 433.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.2247, allocations: 3.938 kB / 433.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.2248, allocations: 3.938 kB / 433.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.225, allocations: 27.91 kB / 433.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.2251, allocations: 27.92 kB / 433.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2252, allocations: 11.94 kB / 433.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.2253, allocations: 15.98 kB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.2253, allocations: 11.94 kB / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2253, allocations: 0 / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.2253, allocations: 4 kB / 434 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2254, allocations: 7.922 kB / 434 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2254, allocations: 19.92 kB / 434 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.2255, allocations: 27.56 kB / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2255, allocations: 0 / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2255, allocations: 0 / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2255, allocations: 0 / 434 MB, free: 5.281 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.0004548/0.226, allocations: 272.9 kB / 434.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.226, allocations: 11.97 kB / 434.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.226, allocations: 8.891 kB / 434.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.2262, allocations: 114.5 kB / 434.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2262, allocations: 4.375 kB / 434.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2263, allocations: 4.375 kB / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.2266, allocations: 127.8 kB / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2266, allocations: 192 / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2266, allocations: 3.938 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2267, allocations: 4 kB / 434.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2268, allocations: 23.97 kB / 434.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.2269, allocations: 124.8 kB / 434.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2271, allocations: 54.55 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.2272, allocations: 32.86 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2272, allocations: 0 / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2272, allocations: 34.55 kB / 434.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2272, allocations: 0 / 434.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002875/0.2275, allocations: 89.53 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2275, allocations: 55.41 kB / 435 MB, free: 4.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.2276, allocations: 113.8 kB / 435.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2277, allocations: 25.7 kB / 435.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.2277, allocations: 84.14 kB / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.2277, allocations: 0 / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2277, allocations: 17.72 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2279, allocations: 322.8 kB / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.2279, allocations: 3.938 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.228, allocations: 31.44 kB / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.228, allocations: 39.38 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.228, allocations: 3.938 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.037e-05/0.2281, allocations: 61.58 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2281, allocations: 10.5 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2281, allocations: 12 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2281, allocations: 0 / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.2282, allocations: 11.98 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2282, allocations: 4 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.2282, allocations: 3.938 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2282, allocations: 4 kB / 435.7 MB, free: 3.391 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.955e-05/0.2283, allocations: 113.8 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.2285, allocations: 65.62 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.2285, allocations: 11.94 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2285, allocations: 4 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2285, allocations: 4 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2285, allocations: 3.984 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2286, allocations: 124.8 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2286, allocations: 0 / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.2287, allocations: 11.98 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2287, allocations: 0 / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2287, allocations: 3.938 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2287, allocations: 0 / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2287, allocations: 3.938 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2289, allocations: 89.11 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.2289, allocations: 11.94 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2289, allocations: 4.312 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.2289, allocations: 4 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.2289, allocations: 0 / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2289, allocations: 8 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.229, allocations: 83.27 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.229, allocations: 0 / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.2292, allocations: 8 kB / 436.2 MB, free: 2.762 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001004/0.2293, allocations: 99.25 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.2294, allocations: 31.92 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2294, allocations: 0 / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2294, allocations: 0 / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2297, allocations: 27.95 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.23, allocations: 163.4 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2303, allocations: 0.6772 MB / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.2303, allocations: 11.44 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2303, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.002139/0.2325, allocations: 0.6249 MB / 437.9 MB, free: 1.07 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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: 6.473070608917624]