Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001186/0.001186, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002165/0.003351, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001253/0.001253, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002779, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.976/0.976, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.182e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001689/0.001701, allocations: 1.63 MB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.0019, allocations: 148.1 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.001959, allocations: 7.938 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.001989, allocations: 3.938 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.002043, allocations: 7.922 kB / 246.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.002177, allocations: 35.91 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.002255, allocations: 35.84 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.002326, allocations: 15.98 kB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.002379, allocations: 19.92 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.002414, allocations: 11.98 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.002436, allocations: 0 / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.002445, allocations: 4 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.00248, allocations: 11.94 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.0025, allocations: 7.938 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.00258, allocations: 35.84 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.002589, allocations: 4 kB / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002589, allocations: 0 / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.0026, allocations: 0 / 246.5 MB, free: 12.35 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003056/0.002905, allocations: 272.3 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.002935, allocations: 12.03 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.00296, allocations: 8.922 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.003086, allocations: 137.6 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.003094, allocations: 4.375 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.0031, allocations: 384 / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.003251, allocations: 126.2 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003257, allocations: 192 / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.003263, allocations: 384 / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003267, allocations: 8.312 kB / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.003284, allocations: 11.88 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.003431, allocations: 149.2 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.003533, allocations: 57.06 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.003552, allocations: 21.77 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.003567, allocations: 0 / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.003585, allocations: 34.56 kB / 247.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.003586, allocations: 0 / 247.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.501e-05/0.003681, allocations: 53.61 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.00372, allocations: 85.05 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.003781, allocations: 126.7 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.003789, allocations: 25.7 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.003815, allocations: 88.14 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.003822, allocations: 8.016 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.003843, allocations: 21.7 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.003912, allocations: 318.8 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.003917, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.003921, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.305e-05/0.003934, allocations: 8.859 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003936, allocations: 0 / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.831e-05/0.003964, allocations: 29.7 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.003976, allocations: 11.58 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.003981, allocations: 4 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.003987, allocations: 4.094 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.00402, allocations: 11.88 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.004022, allocations: 0 / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.004033, allocations: 4 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-06/0.004036, allocations: 0 / 248.1 MB, free: 10.55 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 4.466e-05/0.004081, allocations: 108.7 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.004112, allocations: 41.69 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.004131, allocations: 8.344 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.004134, allocations: 3.984 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004137, allocations: 7.938 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004139, allocations: 7.938 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.459e-05/0.004214, allocations: 73.89 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004215, allocations: 0 / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.004238, allocations: 11.98 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.004258, allocations: 11.89 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004259, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.004263, allocations: 4 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.004265, allocations: 3.938 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.004268, allocations: 7.922 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.404e-05/0.004332, allocations: 128.4 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.00434, allocations: 4.031 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.00437, allocations: 11.98 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.004388, allocations: 0 / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004391, allocations: 0 / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.992e-05/0.004411, allocations: 32.28 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004411, allocations: 0 / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.00452, allocations: 4 kB / 248.6 MB, free: 10.04 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 5.416e-05/0.004574, allocations: 76.42 kB / 248.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.571e-05/0.00462, allocations: 24.8 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.004623, allocations: 3.984 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.004632, allocations: 4.859 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.004792, allocations: 27.98 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.005116, allocations: 163 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.00515, allocations: 59.34 kB / 248.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.349e-05/0.005163, allocations: 4 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.005201, allocations: 55.36 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.005202, allocations: 0 / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of Templates: time 0.001784/0.006986, allocations: 0.531 MB / 249.5 MB, free: 9.031 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.474565493874252]