Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001358/0.001358, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001567/0.001567, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.41e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003539/0.003574, allocations: 1.438 MB / 273.8 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.003811, allocations: 35.84 kB / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003871, allocations: 0 / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.003901, allocations: 4 kB / 273.8 MB, free: 348 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.003944, allocations: 3.938 kB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.004232, allocations: 27.91 kB / 273.8 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.004334, allocations: 27.92 kB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.004429, allocations: 7.984 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.004497, allocations: 19.92 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.004538, allocations: 4 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004558, allocations: 0 / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.004571, allocations: 4 kB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.004597, allocations: 11.97 kB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.004647, allocations: 11.94 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004757, allocations: 31.91 kB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004759, allocations: 0 / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00476, allocations: 0 / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.004765, allocations: 0 / 273.9 MB, free: 196 kB / 250.7 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.0005398/0.005304, allocations: 270.3 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.005345, allocations: 12.03 kB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.005396, allocations: 8.875 kB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.005643, allocations: 117.7 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.005665, allocations: 4.375 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.005679, allocations: 4.375 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.006114, allocations: 115.8 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006122, allocations: 192 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.006138, allocations: 8.375 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006142, allocations: 4.312 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.006287, allocations: 23.91 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.006461, allocations: 101.3 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.006665, allocations: 50.55 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.006761, allocations: 20.92 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.006777, allocations: 8 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.006819, allocations: 30.56 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.00682, allocations: 0 / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003507/0.00717, allocations: 77.75 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.007251, allocations: 63.39 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.007377, allocations: 101.8 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.007405, allocations: 29.7 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.007479, allocations: 80.14 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.007495, allocations: 3.984 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.00754, allocations: 17.72 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.007755, allocations: 314.8 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.007774, allocations: 4 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.007782, allocations: 0 / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.007819, allocations: 16.8 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00782, allocations: 0 / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.264e-05/0.007913, allocations: 45.67 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.007934, allocations: 8 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.007939, allocations: 0 / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007954, allocations: 4.188 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.00801, allocations: 4.094 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.008022, allocations: 8 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.00804, allocations: 3.938 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.008043, allocations: 0 / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001199/0.008163, allocations: 109.8 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.008378, allocations: 69.56 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.008407, allocations: 7.688 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008408, allocations: 0 / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008413, allocations: 0 / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.008422, allocations: 7.922 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.008546, allocations: 105.3 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008547, allocations: 0 / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.008593, allocations: 7.984 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.008595, allocations: 0 / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008603, allocations: 0 / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.00861, allocations: 4 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00861, allocations: 0 / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.008848, allocations: 92.98 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008861, allocations: 3.953 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.008884, allocations: 4 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.008924, allocations: 4 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-06/0.008931, allocations: 7.984 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.008935, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.009006, allocations: 79.28 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009006, allocations: 0 / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.009309, allocations: 8 kB / 276 MB, free: 13.91 MB / 266.7 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.0001451/0.009454, allocations: 99.19 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.009598, allocations: 19.98 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0096, allocations: 0 / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.009601, allocations: 0 / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.009931, allocations: 33.42 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.01031, allocations: 115.2 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.23e-05/0.01039, allocations: 63.34 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.01042, allocations: 3.984 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.01046, allocations: 12.5 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01046, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003207/0.01366, allocations: 376.6 kB / 276.7 MB, free: 13.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 4.34987271099817]