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.001779/0.001779, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001823/0.001823, allocations: 153.1 kB / 24.27 MB, free: 168 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.548/1.548, allocations: 173.3 MB / 200.8 MB, free: 9.32 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 1.512e-06/1.512e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.734e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002992/0.00302, allocations: 1.518 MB / 268.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.003447, allocations: 139.5 kB / 269 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.003513, allocations: 4 kB / 269 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.003565, allocations: 3.938 kB / 269 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.003685, allocations: 11.86 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003906, allocations: 35.84 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.997e-05/0.004006, allocations: 31.91 kB / 269 MB, free: 5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.004091, allocations: 8 kB / 269.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.004143, allocations: 15.92 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.004181, allocations: 7.984 kB / 269.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.0042, allocations: 0 / 269.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.004213, allocations: 8 kB / 269.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.004259, allocations: 11.94 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.00429, allocations: 15.92 kB / 269.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.004407, allocations: 39.77 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.004412, allocations: 4 kB / 269.2 MB, free: 4.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004413, allocations: 0 / 269.2 MB, free: 4.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004416, allocations: 0 / 269.2 MB, free: 4.891 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.0005249/0.004941, allocations: 392 kB / 269.5 MB, free: 4.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004979, allocations: 8.922 kB / 269.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.005021, allocations: 4.938 kB / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.00524, allocations: 144.4 kB / 269.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005252, allocations: 4.359 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005261, allocations: 4.375 kB / 269.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.00552, allocations: 100.9 kB / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.00553, allocations: 192 / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.005537, allocations: 384 / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005541, allocations: 4.375 kB / 269.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.005611, allocations: 23.86 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.005966, allocations: 263.5 kB / 270.1 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006084, allocations: 62.12 kB / 270.1 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.006134, allocations: 19.44 kB / 270.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.006153, allocations: 0 / 270.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.006191, allocations: 41.38 kB / 270.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.006192, allocations: 0 / 270.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002378/0.00643, allocations: 65.52 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.00651, allocations: 81.36 kB / 270.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.006696, allocations: 205.4 kB / 270.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.006714, allocations: 25.7 kB / 270.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.006808, allocations: 134.9 kB / 270.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.006817, allocations: 3.953 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.006859, allocations: 19.38 kB / 270.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.007121, allocations: 0.4884 MB / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.007154, allocations: 7.938 kB / 271.2 MB, free: 2.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.007176, allocations: 4 kB / 271.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.007243, allocations: 23.73 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007245, allocations: 4 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.844e-05/0.007334, allocations: 33.7 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007346, allocations: 4 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.007353, allocations: 3.938 kB / 271.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.007367, allocations: 4 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.007419, allocations: 3.984 kB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007423, allocations: 0 / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.007445, allocations: 4 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.007449, allocations: 0 / 271.3 MB, free: 2.488 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.0001158/0.007565, allocations: 164.5 kB / 271.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.007636, allocations: 41.64 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.007677, allocations: 23.69 kB / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007679, allocations: 0 / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.007682, allocations: 0 / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.007684, allocations: 0 / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.007857, allocations: 128.6 kB / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.007858, allocations: 0 / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.007893, allocations: 4 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007895, allocations: 0 / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.007903, allocations: 8.031 kB / 271.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.007909, allocations: 7.922 kB / 271.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.007913, allocations: 4 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.008137, allocations: 207.5 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.008176, allocations: 15.95 kB / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.008188, allocations: 0 / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.008243, allocations: 7.875 kB / 271.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.008277, allocations: 7.984 kB / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.00828, allocations: 0 / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.008381, allocations: 143.2 kB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008381, allocations: 0 / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.008594, allocations: 11.94 kB / 272.1 MB, free: 1.652 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.0001044/0.008699, allocations: 95.25 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.008815, allocations: 23.61 kB / 272.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008817, allocations: 0 / 272.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.008856, allocations: 15.69 kB / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.009173, allocations: 12.52 kB / 272.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.009487, allocations: 161.3 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.825e-05/0.009576, allocations: 75.23 kB / 272.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.559e-05/0.009591, allocations: 3.938 kB / 272.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.009622, allocations: 12.5 kB / 272.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of SimCode: time 4.2e-07/0.009622, allocations: 0 / 272.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of Templates: time 0.003151/0.01277, allocations: 0.4943 MB / 272.9 MB, free: 0.707 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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.2713161029387265]