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.001282/0.001282, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.00146/0.00146, allocations: 168.8 kB / 24.5 MB, free: 3.457 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.001643/0.001643, allocations: 52.11 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09408, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002813/0.0969, allocations: 1.447 MB / 380.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.0971, allocations: 35.86 kB / 380.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.09717, allocations: 0 / 380.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.0972, allocations: 7.922 kB / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.09724, allocations: 3.938 kB / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.09749, allocations: 23.97 kB / 380.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.606e-05/0.09758, allocations: 27.92 kB / 380.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.09768, allocations: 4 kB / 380.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.09772, allocations: 15.92 kB / 380.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.09777, allocations: 15.92 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.09779, allocations: 0 / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.0978, allocations: 7.938 kB / 380.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.09782, allocations: 8 kB / 380.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.09785, allocations: 11.92 kB / 380.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.09796, allocations: 39.77 kB / 380.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.09796, allocations: 0 / 380.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09796, allocations: 0 / 380.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.09797, allocations: 0 / 380.5 MB, free: 14.05 MB / 350.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.0004562/0.09843, allocations: 270.3 kB / 380.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.09847, allocations: 12.03 kB / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.0985, allocations: 4.891 kB / 380.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.09874, allocations: 114.5 kB / 380.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.09876, allocations: 8.312 kB / 380.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.09878, allocations: 8.375 kB / 380.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.09917, allocations: 115.8 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.09918, allocations: 192 / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.09919, allocations: 7.938 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.0992, allocations: 0 / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.09931, allocations: 15.98 kB / 381.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.09944, allocations: 109.3 kB / 381.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.09963, allocations: 66.47 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.09971, allocations: 24.92 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.09973, allocations: 0 / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.09976, allocations: 34.56 kB / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.09976, allocations: 0 / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003047/0.1001, allocations: 81.59 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1001, allocations: 59.39 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.1002, allocations: 109.8 kB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1002, allocations: 25.7 kB / 381.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1003, allocations: 92.12 kB / 381.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1003, allocations: 3.938 kB / 381.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1003, allocations: 21.72 kB / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1005, allocations: 310.8 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.1005, allocations: 11.98 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.1005, allocations: 27.44 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.1006, allocations: 35.38 kB / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1006, allocations: 0 / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.1007, allocations: 69.58 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1007, allocations: 4 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1007, allocations: 0 / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1007, allocations: 7.938 kB / 382.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1008, allocations: 4 kB / 382.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1008, allocations: 15.86 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.1008, allocations: 0 / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1008, allocations: 4 kB / 382.2 MB, free: 12.21 MB / 350.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 8.994e-05/0.1009, allocations: 113.8 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.1011, allocations: 69.75 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.1011, allocations: 4 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1011, allocations: 7.938 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1011, allocations: 0 / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1011, allocations: 0 / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.1012, allocations: 105.3 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1012, allocations: 0 / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.1013, allocations: 15.92 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1013, allocations: 0 / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1013, allocations: 0 / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1013, allocations: 0 / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1013, allocations: 7.938 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1015, allocations: 89.11 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.1015, allocations: 12.17 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1015, allocations: 7.922 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.1015, allocations: 4.375 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.1015, allocations: 7.922 kB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1016, allocations: 8 kB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.1016, allocations: 87.27 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1016, allocations: 0 / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.1018, allocations: 8 kB / 382.7 MB, free: 11.6 MB / 350.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.0001147/0.1019, allocations: 99.25 kB / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1021, allocations: 27.92 kB / 382.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1021, allocations: 0 / 382.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.1021, allocations: 0 / 382.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1023, allocations: 27.92 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.1027, allocations: 121.6 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.1027, allocations: 63.34 kB / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.1027, allocations: 8.25 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.1028, allocations: 8.5 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1028, allocations: 0 / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Templates: time 0.002874/0.1056, allocations: 474.7 kB / 383.5 MB, free: 10.74 MB / 350.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 ida -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: 4.2209198859054595]