Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 55.92 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2426, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002866/0.2454, allocations: 1.452 MB / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.2456, allocations: 27.91 kB / 425.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.2457, allocations: 3.938 kB / 425.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.2457, allocations: 0 / 425.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.2457, allocations: 3.938 kB / 425.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.246, allocations: 23.97 kB / 425.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.2461, allocations: 27.92 kB / 425.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.2462, allocations: 8 kB / 425.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.2462, allocations: 15.92 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.2462, allocations: 11.92 kB / 425.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.2463, allocations: 0 / 425.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.2463, allocations: 8 kB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.2463, allocations: 7.984 kB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.2463, allocations: 11.94 kB / 425.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.2464, allocations: 42.72 kB / 425.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2464, allocations: 0 / 425.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2464, allocations: 0 / 425.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2464, allocations: 0 / 425.4 MB, free: 12.83 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.0004346/0.2469, allocations: 270 kB / 425.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2469, allocations: 12.03 kB / 425.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.2469, allocations: 0.9375 kB / 425.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.2471, allocations: 126.5 kB / 425.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2471, allocations: 384 / 425.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2472, allocations: 4.375 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2475, allocations: 119.8 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2475, allocations: 192 / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2475, allocations: 3.938 kB / 426 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2475, allocations: 0 / 426 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2477, allocations: 31.91 kB / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.2478, allocations: 105.3 kB / 426.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.2479, allocations: 50.55 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.248, allocations: 32.84 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.248, allocations: 4 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2481, allocations: 30.56 kB / 426.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.2481, allocations: 0 / 426.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002915/0.2484, allocations: 93.66 kB / 426.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2484, allocations: 51.41 kB / 426.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.2485, allocations: 113.8 kB / 426.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2485, allocations: 25.7 kB / 426.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.2486, allocations: 92.08 kB / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2486, allocations: 0 / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.2486, allocations: 17.72 kB / 426.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2488, allocations: 318.8 kB / 426.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.2488, allocations: 4 kB / 426.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.2488, allocations: 31.44 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/0.2489, allocations: 39.36 kB / 427 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2489, allocations: 0 / 427 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.207e-05/0.2489, allocations: 69.53 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.249, allocations: 4 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.249, allocations: 3.984 kB / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.249, allocations: 7.938 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.249, allocations: 8 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2491, allocations: 0 / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.2491, allocations: 3.938 kB / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.2491, allocations: 4 kB / 427.1 MB, free: 10.99 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 9.322e-05/0.2492, allocations: 118 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2493, allocations: 61.61 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2494, allocations: 15.98 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2494, allocations: 3.938 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2494, allocations: 0 / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2494, allocations: 0 / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.2494, allocations: 97.33 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2494, allocations: 0 / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.2495, allocations: 11.98 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2495, allocations: 0 / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2495, allocations: 4 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2495, allocations: 4 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2495, allocations: 3.938 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2497, allocations: 101 kB / 427.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.2497, allocations: 7.875 kB / 427.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2497, allocations: 4 kB / 427.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.2498, allocations: 0 / 427.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-06/0.2498, allocations: 4.312 kB / 427.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.2498, allocations: 4 kB / 427.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.2498, allocations: 91.27 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2498, allocations: 0 / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.25, allocations: 4 kB / 427.6 MB, free: 10.39 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.000114/0.2501, allocations: 99.25 kB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.2503, allocations: 31.91 kB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2503, allocations: 4 kB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2503, allocations: 0 / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2506, allocations: 31.2 kB / 427.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.2509, allocations: 143.3 kB / 427.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.042e-05/0.251, allocations: 71.45 kB / 428 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.251, allocations: 11.44 kB / 428 MB, free: 9.949 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.251, allocations: 0 / 428 MB, free: 9.949 MB / 334.1 MB Notification: Performance of Templates: time 0.002062/0.2531, allocations: 0.6328 MB / 428.6 MB, free: 9.316 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.711801514960825]