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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 71.36 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 149.8 kB / 24.49 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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.00153/0.00153, allocations: 52.41 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.08811, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00253/0.09064, allocations: 1.431 MB / 373 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.09082, allocations: 31.91 kB / 373 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.09088, allocations: 7.938 kB / 373 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.09091, allocations: 0 / 373 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.956e-05/0.09094, allocations: 3.938 kB / 373 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.09115, allocations: 19.97 kB / 373.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.09122, allocations: 31.92 kB / 373.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.09132, allocations: 7.938 kB / 373.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.09136, allocations: 15.92 kB / 373.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.0914, allocations: 11.92 kB / 373.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.09141, allocations: 0 / 373.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.09142, allocations: 4 kB / 373.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.09144, allocations: 4 kB / 373.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.09147, allocations: 19.92 kB / 373.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.304e-05/0.09155, allocations: 31.89 kB / 373.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09155, allocations: 0 / 373.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.09155, allocations: 0 / 373.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.09156, allocations: 0 / 373.2 MB, free: 5.719 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.0003826/0.09194, allocations: 266.2 kB / 373.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.09198, allocations: 12.03 kB / 373.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.092, allocations: 0.9375 kB / 373.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.09219, allocations: 130.4 kB / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.09221, allocations: 384 / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.09222, allocations: 8.375 kB / 373.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.09254, allocations: 115.8 kB / 373.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.09255, allocations: 192 / 373.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.09255, allocations: 3.938 kB / 373.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.09256, allocations: 0 / 373.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.09266, allocations: 19.98 kB / 373.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.09277, allocations: 105.3 kB / 373.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.09292, allocations: 54.48 kB / 373.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.09299, allocations: 28.92 kB / 373.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.093, allocations: 0 / 373.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.09303, allocations: 34.56 kB / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.09303, allocations: 0 / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.09327, allocations: 73.61 kB / 374 MB, free: 4.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.09332, allocations: 59.34 kB / 374.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.0934, allocations: 101.8 kB / 374.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.09342, allocations: 33.64 kB / 374.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.09346, allocations: 84.14 kB / 374.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.09347, allocations: 3.953 kB / 374.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.0935, allocations: 21.7 kB / 374.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.09364, allocations: 318.8 kB / 374.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.09365, allocations: 4 kB / 374.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.09368, allocations: 31.42 kB / 374.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.09373, allocations: 39.38 kB / 374.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09374, allocations: 0 / 374.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.726e-05/0.09382, allocations: 61.69 kB / 374.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.09383, allocations: 4 kB / 374.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.09384, allocations: 0 / 374.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.09385, allocations: 7.938 kB / 374.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.0939, allocations: 8.125 kB / 374.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.09391, allocations: 3.938 kB / 374.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.09392, allocations: 0 / 374.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.09393, allocations: 4 kB / 374.8 MB, free: 3.91 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 8.457e-05/0.09401, allocations: 117.8 kB / 374.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.09416, allocations: 65.62 kB / 375 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.09417, allocations: 7.75 kB / 375 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.09418, allocations: 3.938 kB / 375 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.09419, allocations: 3.984 kB / 375 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.09419, allocations: 4 kB / 375 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.09427, allocations: 97.33 kB / 375.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.09427, allocations: 0 / 375.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.0943, allocations: 11.92 kB / 375.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.0943, allocations: 0 / 375.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.09431, allocations: 4 kB / 375.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.09431, allocations: 0 / 375.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.09431, allocations: 4.312 kB / 375.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.09449, allocations: 89.11 kB / 375.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.09451, allocations: 7.891 kB / 375.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.09452, allocations: 0 / 375.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.09456, allocations: 19.98 kB / 375.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-06/0.09456, allocations: 3.938 kB / 375.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.09457, allocations: 0 / 375.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.09461, allocations: 79.28 kB / 375.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09461, allocations: 0 / 375.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.0948, allocations: 7.938 kB / 375.3 MB, free: 3.324 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 9.983e-05/0.0949, allocations: 107.2 kB / 375.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.09503, allocations: 27.98 kB / 375.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.09503, allocations: 0 / 375.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.09503, allocations: 0 / 375.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.09525, allocations: 27.91 kB / 375.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.09552, allocations: 117.5 kB / 375.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.09558, allocations: 67.28 kB / 375.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.443e-05/0.09559, allocations: 4 kB / 375.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.09561, allocations: 12.75 kB / 375.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09561, allocations: 0 / 375.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Templates: time 0.002428/0.09804, allocations: 391.3 kB / 376 MB, free: 2.531 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 -s ida -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 [Calling sys.exit(0), Time elapsed: 4.134600155055523]