Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.00132/0.00132, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00188/0.00188, allocations: 145.7 kB / 24.89 MB, free: 8.789 MB / 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 0.916/0.916, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.163e-05, allocations: 2.312 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002196/0.002217, allocations: 1.61 MB / 270.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.00256, allocations: 147.4 kB / 270.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.002631, allocations: 4 kB / 270.3 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.002684, allocations: 7.922 kB / 270.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.002802, allocations: 7.938 kB / 270.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.003019, allocations: 43.77 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.003115, allocations: 31.92 kB / 270.4 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.003189, allocations: 8 kB / 270.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.003236, allocations: 19.92 kB / 270.4 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.003272, allocations: 11.97 kB / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003287, allocations: 0 / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.003296, allocations: 4 kB / 270.4 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.003333, allocations: 15.92 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.003352, allocations: 15.94 kB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.568e-05/0.003438, allocations: 31.78 kB / 270.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003439, allocations: 4 kB / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00344, allocations: 0 / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003444, allocations: 0 / 270.5 MB, free: 4.012 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.0002611/0.003705, allocations: 268.7 kB / 270.7 MB, free: 3.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.003735, allocations: 12.91 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.003759, allocations: 4.938 kB / 270.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.003897, allocations: 129.7 kB / 270.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.003904, allocations: 8.375 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.003911, allocations: 4.375 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.004072, allocations: 114.2 kB / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.004078, allocations: 192 / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004083, allocations: 384 / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.004088, allocations: 384 / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.004103, allocations: 11.92 kB / 271 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.004261, allocations: 161 kB / 271.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.00436, allocations: 45.17 kB / 271.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.004382, allocations: 21.77 kB / 271.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004394, allocations: 7.984 kB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.004413, allocations: 34.5 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.004414, allocations: 0 / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001022/0.004516, allocations: 49.62 kB / 271.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.004557, allocations: 88.98 kB / 271.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.00462, allocations: 134.2 kB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.004628, allocations: 29.83 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.004656, allocations: 84.05 kB / 271.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.004663, allocations: 4 kB / 271.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.004688, allocations: 21.64 kB / 271.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.004758, allocations: 318.8 kB / 272 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-06/0.004766, allocations: 0 / 272 MB, free: 2.309 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.004771, allocations: 0 / 272 MB, free: 2.309 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.004788, allocations: 12.86 kB / 272 MB, free: 2.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00479, allocations: 0 / 272 MB, free: 2.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.161e-05/0.004831, allocations: 37.72 kB / 272 MB, free: 2.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.004842, allocations: 12 kB / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004846, allocations: 0 / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.004855, allocations: 0 / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.00489, allocations: 7.938 kB / 272.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-06/0.004892, allocations: 0 / 272.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.004903, allocations: 0 / 272.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.004906, allocations: 0 / 272.1 MB, free: 2.23 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 5.565e-05/0.004961, allocations: 112.7 kB / 272.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.004998, allocations: 41.62 kB / 272.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.005021, allocations: 12.56 kB / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.005025, allocations: 11.98 kB / 272.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.005028, allocations: 3.938 kB / 272.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005031, allocations: 0 / 272.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.005112, allocations: 73.88 kB / 272.3 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005112, allocations: 0 / 272.3 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.005138, allocations: 8 kB / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005139, allocations: 0 / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.005143, allocations: 0 / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005144, allocations: 0 / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002559/0.0054, allocations: 4 kB / 272.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.625e-05/0.005466, allocations: 144.3 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.00549, allocations: 19.83 kB / 272.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.0055, allocations: 7.984 kB / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.005527, allocations: 0 / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.005549, allocations: 0 / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.005552, allocations: 4 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.005573, allocations: 28.77 kB / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005573, allocations: 0 / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.005684, allocations: 4 kB / 272.5 MB, free: 1.703 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 7.402e-05/0.005758, allocations: 80.45 kB / 272.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.843e-05/0.005807, allocations: 16.84 kB / 272.6 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005809, allocations: 0 / 272.6 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.005819, allocations: 12.8 kB / 272.6 MB, free: 1.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.00599, allocations: 16.81 kB / 272.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.006207, allocations: 159.1 kB / 272.8 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.006242, allocations: 59.34 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.805e-05/0.00626, allocations: 8 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.006303, allocations: 55.5 kB / 272.9 MB, free: 1.238 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/0.006303, allocations: 0 / 272.9 MB, free: 1.238 MB / 250.7 MB Notification: Performance of Templates: time 0.002007/0.00831, allocations: 0.537 MB / 273.5 MB, free: 0.7109 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.434331802185625]