Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.762/1.762, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 378.7 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 53.37 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003232/0.3408, allocations: 1.449 MB / 433.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.341, allocations: 27.91 kB / 433.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.3411, allocations: 4 kB / 433.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3411, allocations: 3.938 kB / 433.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3412, allocations: 7.922 kB / 433.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3415, allocations: 31.89 kB / 433.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3416, allocations: 19.94 kB / 433.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3417, allocations: 11.98 kB / 433.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.3417, allocations: 11.94 kB / 433.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3419, allocations: 19.92 kB / 433.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3419, allocations: 4 kB / 433.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.3419, allocations: 4 kB / 433.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.342, allocations: 7.922 kB / 433.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.342, allocations: 19.92 kB / 433.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3421, allocations: 21.88 kB / 433.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3421, allocations: 4 kB / 433.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3421, allocations: 0 / 433.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3421, allocations: 3.938 kB / 433.8 MB, free: 5.43 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.0005525/0.3427, allocations: 270 kB / 434 MB, free: 5.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3427, allocations: 12.03 kB / 434 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.3428, allocations: 8.891 kB / 434 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.343, allocations: 118.5 kB / 434.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3431, allocations: 12.31 kB / 434.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3431, allocations: 384 / 434.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.3435, allocations: 119.8 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3435, allocations: 4.188 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3435, allocations: 3.938 kB / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3435, allocations: 0 / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3436, allocations: 23.98 kB / 434.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3438, allocations: 128.7 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.344, allocations: 58.52 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.3441, allocations: 24.89 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3441, allocations: 4 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3441, allocations: 30.56 kB / 434.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3441, allocations: 0 / 434.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003162/0.3445, allocations: 89.48 kB / 434.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3445, allocations: 51.41 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3446, allocations: 113.8 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3447, allocations: 25.7 kB / 434.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.3447, allocations: 84.14 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3447, allocations: 8 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3448, allocations: 17.7 kB / 434.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.345, allocations: 314.8 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.345, allocations: 4 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.3451, allocations: 31.42 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/0.3451, allocations: 39.38 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3451, allocations: 0 / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.3452, allocations: 65.58 kB / 435.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3452, allocations: 4 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3453, allocations: 7.938 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3453, allocations: 128 / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.3453, allocations: 15.94 kB / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3453, allocations: 0 / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.3454, allocations: 11.88 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3454, allocations: 0 / 435.4 MB, free: 3.551 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 0.0001021/0.3455, allocations: 121.8 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3456, allocations: 65.81 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3457, allocations: 15.92 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3457, allocations: 3.984 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3457, allocations: 4 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3457, allocations: 0 / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3458, allocations: 128.7 kB / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3458, allocations: 0 / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.3459, allocations: 8 kB / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3459, allocations: 0 / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3459, allocations: 7.938 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3459, allocations: 0 / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3459, allocations: 0 / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.3461, allocations: 93.09 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.3461, allocations: 3.953 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3461, allocations: 7.938 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.3462, allocations: 8.359 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-06/0.3462, allocations: 4 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3462, allocations: 0 / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.3462, allocations: 87.22 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3462, allocations: 0 / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.3464, allocations: 8 kB / 436 MB, free: 2.91 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.0001344/0.3466, allocations: 99.25 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.3467, allocations: 27.97 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3467, allocations: 0 / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3467, allocations: 3.938 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.347, allocations: 26.94 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.3474, allocations: 121.6 kB / 436.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3477, allocations: 0.6882 MB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.3477, allocations: 3.984 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3477, allocations: 11.44 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3477, allocations: 3.938 kB / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Templates: time 0.00308/0.3508, allocations: 450.8 kB / 437.4 MB, free: 1.438 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.3996403189376]