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.001791/0.001791, allocations: 107 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.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.002256/0.002256, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.628/1.628, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001644/0.001644, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3731, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.004314/0.3775, allocations: 1.453 MB / 433.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.3777, allocations: 27.91 kB / 433.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.3778, allocations: 0 / 433.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.3779, allocations: 7.938 kB / 433.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.3779, allocations: 11.92 kB / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3782, allocations: 11.98 kB / 433.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3784, allocations: 31.92 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3785, allocations: 7.984 kB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3785, allocations: 11.94 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.3786, allocations: 19.91 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3786, allocations: 4 kB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.3786, allocations: 4 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.3787, allocations: 4 kB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3787, allocations: 11.94 kB / 433.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3788, allocations: 34.83 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.3788, allocations: 7.938 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3788, allocations: 0 / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3789, allocations: 0 / 434 MB, free: 5.074 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.0006159/0.3795, allocations: 272.2 kB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3795, allocations: 8.031 kB / 434.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.3796, allocations: 8.891 kB / 434.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3798, allocations: 118.5 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3799, allocations: 8.375 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3799, allocations: 384 / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.3805, allocations: 123.8 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3805, allocations: 192 / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3805, allocations: 3.938 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3805, allocations: 0 / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.3807, allocations: 23.98 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.3809, allocations: 109.3 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3812, allocations: 54.48 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3813, allocations: 28.86 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3813, allocations: 8 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3814, allocations: 30.56 kB / 434.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.3814, allocations: 0 / 434.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004193/0.3818, allocations: 81.59 kB / 434.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.3819, allocations: 59.34 kB / 434.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.382, allocations: 105.8 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.382, allocations: 25.7 kB / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.3821, allocations: 84.14 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3821, allocations: 7.922 kB / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.3822, allocations: 17.72 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3824, allocations: 318.8 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.3824, allocations: 8 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.3825, allocations: 35.67 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.3826, allocations: 35.38 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3826, allocations: 0 / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.3827, allocations: 61.58 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3827, allocations: 8.125 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3827, allocations: 4 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3828, allocations: 3.938 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.3829, allocations: 11.94 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3829, allocations: 0 / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.3829, allocations: 11.92 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3829, allocations: 4 kB / 435.6 MB, free: 3.23 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.0001296/0.3831, allocations: 109.8 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.3833, allocations: 69.62 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.3834, allocations: 4 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3834, allocations: 8.172 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3834, allocations: 0 / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3834, allocations: 3.984 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.3835, allocations: 105.3 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3835, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3836, allocations: 15.92 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3836, allocations: 0 / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3836, allocations: 4 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3837, allocations: 0 / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3837, allocations: 3.938 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.384, allocations: 85.11 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.384, allocations: 15.89 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.384, allocations: 4 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.3841, allocations: 7.984 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-06/0.3841, allocations: 7.875 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3841, allocations: 0 / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.3842, allocations: 83.41 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3842, allocations: 0 / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3846, allocations: 8 kB / 436.1 MB, free: 2.633 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.0001545/0.3847, allocations: 103.2 kB / 436.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3849, allocations: 31.98 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3849, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.3849, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3854, allocations: 34.14 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.3858, allocations: 125.6 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.3859, allocations: 63.34 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.443e-05/0.3859, allocations: 0 / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.386, allocations: 15.69 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.386, allocations: 0 / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Templates: time 0.004824/0.3908, allocations: 478.7 kB / 437 MB, free: 1.754 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 -s cvode -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: 5.7640635639982065]