Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001723/0.001723, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.002162/0.002162, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 48.75 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.09013, allocations: 52.16 MB / 371.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002865/0.093, allocations: 1.436 MB / 373 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001783/0.09318, allocations: 31.86 kB / 373 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.09323, allocations: 4 kB / 373 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.09326, allocations: 0 / 373 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.128e-05/0.09329, allocations: 3.938 kB / 373 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.09352, allocations: 23.97 kB / 373.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.248e-05/0.0936, allocations: 27.92 kB / 373.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.0937, allocations: 11.98 kB / 373.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.09373, allocations: 15.92 kB / 373.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.09377, allocations: 7.938 kB / 373.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.09379, allocations: 4 kB / 373.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.0938, allocations: 0 / 373.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.09382, allocations: 11.98 kB / 373.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.09385, allocations: 11.94 kB / 373.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.09394, allocations: 39.7 kB / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09394, allocations: 0 / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09394, allocations: 0 / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.09395, allocations: 4 kB / 373.2 MB, free: 5.73 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.0004059/0.09435, allocations: 274.2 kB / 373.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.09439, allocations: 8.031 kB / 373.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.09442, allocations: 0.9375 kB / 373.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.09461, allocations: 122.5 kB / 373.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.09462, allocations: 384 / 373.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.09463, allocations: 8.375 kB / 373.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.09499, allocations: 123.8 kB / 373.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.095, allocations: 192 / 373.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.09501, allocations: 7.922 kB / 373.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.09501, allocations: 0 / 373.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.09513, allocations: 31.91 kB / 373.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.09525, allocations: 101.3 kB / 373.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.09542, allocations: 54.58 kB / 373.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.09551, allocations: 32.88 kB / 373.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.09551, allocations: 0 / 373.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.09554, allocations: 30.56 kB / 374 MB, free: 4.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.09554, allocations: 0 / 374 MB, free: 4.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002866/0.09583, allocations: 89.48 kB / 374.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.09589, allocations: 55.41 kB / 374.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.09598, allocations: 109.8 kB / 374.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.096, allocations: 33.64 kB / 374.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.09605, allocations: 84.14 kB / 374.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.09606, allocations: 0 / 374.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.0961, allocations: 21.72 kB / 374.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.09625, allocations: 322.8 kB / 374.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.09627, allocations: 4 kB / 374.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.0963, allocations: 27.44 kB / 374.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.09636, allocations: 39.36 kB / 374.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09637, allocations: 0 / 374.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.455e-05/0.09646, allocations: 65.59 kB / 374.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.09647, allocations: 4 kB / 374.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.09648, allocations: 7.984 kB / 374.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.0965, allocations: 3.938 kB / 374.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.09656, allocations: 8 kB / 374.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.09656, allocations: 0 / 374.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.09658, allocations: 4 kB / 374.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.09659, allocations: 4 kB / 374.8 MB, free: 3.883 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.572e-05/0.09667, allocations: 109.8 kB / 374.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.09683, allocations: 69.61 kB / 375 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.09687, allocations: 16.05 kB / 375 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.09687, allocations: 3.938 kB / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.09687, allocations: 0 / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.09688, allocations: 0 / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.09696, allocations: 97.33 kB / 375.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.09696, allocations: 0 / 375.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.09702, allocations: 11.98 kB / 375.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.09702, allocations: 0 / 375.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.09702, allocations: 0 / 375.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09703, allocations: 4 kB / 375.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.09703, allocations: 3.938 kB / 375.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.09722, allocations: 109.1 kB / 375.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.09723, allocations: 12.31 kB / 375.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.09724, allocations: 4 kB / 375.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.09728, allocations: 8 kB / 375.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-06/0.09728, allocations: 3.938 kB / 375.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.09729, allocations: 0 / 375.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.09735, allocations: 87.27 kB / 375.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09735, allocations: 0 / 375.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000187/0.09753, allocations: 7.938 kB / 375.4 MB, free: 3.273 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.563e-05/0.09763, allocations: 99.25 kB / 375.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.09776, allocations: 35.91 kB / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09777, allocations: 0 / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.09777, allocations: 0 / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.09802, allocations: 28 kB / 375.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.09831, allocations: 121.4 kB / 375.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.09837, allocations: 67.34 kB / 375.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.09839, allocations: 256 / 375.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.09841, allocations: 20.48 kB / 375.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.09841, allocations: 3.938 kB / 375.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of Templates: time 0.002634/0.101, allocations: 462.4 kB / 376.2 MB, free: 2.41 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.093483626958914]