Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.3 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 193.8 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 251.4 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.86 kB / 369.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2775, allocations: 52.14 MB / 421.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002679/0.2802, allocations: 1.429 MB / 422.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.2804, allocations: 35.91 kB / 422.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.2804, allocations: 0 / 422.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.2805, allocations: 3.938 kB / 422.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.2805, allocations: 3.938 kB / 422.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2808, allocations: 23.97 kB / 422.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.2808, allocations: 27.98 kB / 422.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.2809, allocations: 11.98 kB / 422.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.281, allocations: 15.88 kB / 422.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.281, allocations: 11.92 kB / 422.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.281, allocations: 0 / 422.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2811, allocations: 4 kB / 422.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2811, allocations: 7.984 kB / 422.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2811, allocations: 11.94 kB / 422.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2812, allocations: 31.69 kB / 422.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.2812, allocations: 7.938 kB / 422.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2812, allocations: 0 / 422.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2812, allocations: 4 kB / 422.9 MB, free: 13.59 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.0004996/0.2817, allocations: 336.8 kB / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2818, allocations: 11.89 kB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2818, allocations: 8.922 kB / 423.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2821, allocations: 180.3 kB / 423.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2821, allocations: 4.375 kB / 423.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.2821, allocations: 4.375 kB / 423.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.2825, allocations: 119.8 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2825, allocations: 192 / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2825, allocations: 3.938 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2825, allocations: 0 / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2826, allocations: 19.98 kB / 423.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2827, allocations: 157.7 kB / 423.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2829, allocations: 50.56 kB / 423.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.283, allocations: 24.92 kB / 423.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.283, allocations: 0 / 423.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.283, allocations: 34.5 kB / 423.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.283, allocations: 0 / 423.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00027/0.2833, allocations: 81.72 kB / 423.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.2834, allocations: 59.41 kB / 424 MB, free: 12.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.2835, allocations: 101.8 kB / 424.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2835, allocations: 29.7 kB / 424.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2835, allocations: 84.14 kB / 424.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2835, allocations: 3.953 kB / 424.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.2836, allocations: 17.72 kB / 424.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2837, allocations: 318.8 kB / 424.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.2837, allocations: 7.938 kB / 424.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.2838, allocations: 39.36 kB / 424.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.2838, allocations: 39.36 kB / 424.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2838, allocations: 0 / 424.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.203e-05/0.2839, allocations: 57.64 kB / 424.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2839, allocations: 15.55 kB / 424.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.284, allocations: 7.938 kB / 424.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.284, allocations: 0 / 424.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.284, allocations: 4 kB / 424.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.284, allocations: 0 / 424.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.284, allocations: 7.938 kB / 424.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.2841, allocations: 0 / 424.7 MB, free: 11.55 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.046e-05/0.2841, allocations: 121.7 kB / 424.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2843, allocations: 61.62 kB / 424.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.2843, allocations: 15.44 kB / 424.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2843, allocations: 4 kB / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2843, allocations: 0 / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2843, allocations: 0 / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2845, allocations: 157.7 kB / 425.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2845, allocations: 0 / 425.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.2845, allocations: 4.375 kB / 425.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2845, allocations: 0 / 425.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2845, allocations: 7.938 kB / 425.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2845, allocations: 0 / 425.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2845, allocations: 4 kB / 425.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2847, allocations: 95.14 kB / 425.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.2848, allocations: 81.06 kB / 425.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2848, allocations: 3.938 kB / 425.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.2848, allocations: 4 kB / 425.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-06/0.2848, allocations: 0 / 425.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2848, allocations: 3.938 kB / 425.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.2849, allocations: 87.27 kB / 425.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2849, allocations: 7.938 kB / 425.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.2851, allocations: 4 kB / 425.3 MB, free: 10.8 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.0001475/0.2852, allocations: 99.25 kB / 425.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.2854, allocations: 31.92 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2854, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2854, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2857, allocations: 23.97 kB / 425.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2861, allocations: 143.5 kB / 425.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.2864, allocations: 0.6805 MB / 426.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.2865, allocations: 11.44 kB / 426.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2865, allocations: 0 / 426.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of Templates: time 0.002445/0.2889, allocations: 0.6089 MB / 426.9 MB, free: 9.133 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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