Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001456/0.001456, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001534/0.001534, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 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.479/1.479, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.368e-05/4.683e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.005443/0.005489, allocations: 1.511 MB / 268.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007346/0.006224, allocations: 139.4 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.006329, allocations: 0 / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.276e-05/0.006411, allocations: 3.938 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.006594, allocations: 11.92 kB / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.006977, allocations: 39.78 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.007117, allocations: 27.92 kB / 269 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.007249, allocations: 8 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.007335, allocations: 19.92 kB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.007393, allocations: 7.969 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.007423, allocations: 4 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.007436, allocations: 0 / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.007509, allocations: 11.94 kB / 269.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.007565, allocations: 7.984 kB / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.007732, allocations: 39.83 kB / 269.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.007737, allocations: 4 kB / 269.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007738, allocations: 0 / 269.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.007745, allocations: 0 / 269.1 MB, free: 4.883 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007221/0.008467, allocations: 298 kB / 269.4 MB, free: 4.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.008531, allocations: 8.922 kB / 269.4 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.008602, allocations: 8.938 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.009002, allocations: 137.6 kB / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.009023, allocations: 4.375 kB / 269.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.009036, allocations: 384 / 269.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.009474, allocations: 97.61 kB / 269.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.009488, allocations: 192 / 269.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.009506, allocations: 4.359 kB / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.009512, allocations: 384 / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.009642, allocations: 19.92 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.01014, allocations: 205.4 kB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.01029, allocations: 41.2 kB / 270 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.0104, allocations: 29.7 kB / 270 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.01044, allocations: 4 kB / 270 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.01049, allocations: 30.56 kB / 270 MB, free: 3.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.01049, allocations: 0 / 270 MB, free: 3.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004246/0.01092, allocations: 65.52 kB / 270.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.01105, allocations: 85.09 kB / 270.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.0113, allocations: 133.6 kB / 270.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.01134, allocations: 25.7 kB / 270.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.01144, allocations: 92.39 kB / 270.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.01146, allocations: 3.953 kB / 270.4 MB, free: 3.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.01153, allocations: 13.72 kB / 270.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.0118, allocations: 318.8 kB / 270.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.01185, allocations: 4 kB / 270.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.0119, allocations: 4 kB / 270.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.01202, allocations: 24.78 kB / 270.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01202, allocations: 0 / 270.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001724/0.01219, allocations: 49.69 kB / 270.8 MB, free: 3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.01223, allocations: 8 kB / 270.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.01224, allocations: 3.938 kB / 270.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.01226, allocations: 3.984 kB / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.01234, allocations: 0 / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01235, allocations: 4 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.01239, allocations: 0 / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.01239, allocations: 0 / 270.8 MB, free: 2.98 MB / 250.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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001599/0.01255, allocations: 117.8 kB / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.01267, allocations: 45.62 kB / 271 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.01273, allocations: 19.7 kB / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01273, allocations: 0 / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01274, allocations: 0 / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01274, allocations: 0 / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.01302, allocations: 117.3 kB / 271.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01302, allocations: 0 / 271.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.01308, allocations: 4 kB / 271.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01308, allocations: 0 / 271.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.0131, allocations: 4 kB / 271.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.01311, allocations: 3.969 kB / 271.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.01311, allocations: 8 kB / 271.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01343, allocations: 160.3 kB / 271.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.01348, allocations: 11.95 kB / 271.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.0135, allocations: 0 / 271.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.01363, allocations: 11.92 kB / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.01367, allocations: 0 / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.01368, allocations: 0 / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.01382, allocations: 103.3 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01382, allocations: 0 / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000472/0.01429, allocations: 11.97 kB / 271.4 MB, free: 2.309 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001904/0.01448, allocations: 99.23 kB / 271.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.01467, allocations: 12 kB / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01467, allocations: 0 / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.01473, allocations: 15.92 kB / 271.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.01532, allocations: 16.3 kB / 271.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.01588, allocations: 152.8 kB / 271.7 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.01603, allocations: 79.17 kB / 271.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.01606, allocations: 0 / 271.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.0161, allocations: 12.5 kB / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0161, allocations: 0 / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of Templates: time 0.005044/0.02115, allocations: 0.4918 MB / 272.3 MB, free: 1.387 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.176945507992059]