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.001048/0.001048, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001134/0.001134, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 18.57 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 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.442e-06/1.442e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.942e-05, allocations: 2.312 kB / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002277/0.002306, allocations: 1.576 MB / 274.6 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.002665, allocations: 143.4 kB / 274.8 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.002745, allocations: 4 kB / 274.8 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.332e-05/0.002798, allocations: 3.938 kB / 274.8 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.002929, allocations: 11.86 kB / 274.8 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.00314, allocations: 35.84 kB / 274.8 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.003231, allocations: 35.91 kB / 274.9 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003333, allocations: 11.98 kB / 274.9 MB, free: 28 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.003386, allocations: 23.92 kB / 274.9 MB, free: 4 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.003446, allocations: 8.031 kB / 274.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.00347, allocations: 3.938 kB / 274.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.003483, allocations: 4 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.003535, allocations: 11.98 kB / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.003566, allocations: 11.94 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003673, allocations: 39.72 kB / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003675, allocations: 0 / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003676, allocations: 0 / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.003682, allocations: 0 / 275 MB, free: 15.93 MB / 266.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.0004816/0.004163, allocations: 400.4 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.004204, allocations: 8.031 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.004246, allocations: 8.891 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.004423, allocations: 140.5 kB / 275.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.004433, allocations: 384 / 275.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.004444, allocations: 4.375 kB / 275.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.004678, allocations: 133.5 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004685, allocations: 4.125 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.004695, allocations: 4.359 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.004708, allocations: 4.375 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.004729, allocations: 7.938 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.004968, allocations: 271.4 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.005096, allocations: 62.19 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.005128, allocations: 23.42 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.005146, allocations: 7.938 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.005164, allocations: 37.39 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.005166, allocations: 3.984 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.005309, allocations: 69.52 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.00535, allocations: 77.11 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.005447, allocations: 192.9 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005458, allocations: 25.7 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.005521, allocations: 134.9 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.005533, allocations: 7.953 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.005561, allocations: 19.38 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005682, allocations: 496.2 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.005693, allocations: 4 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.005699, allocations: 0 / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.005728, allocations: 19.61 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.005732, allocations: 0 / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.931e-05/0.005781, allocations: 33.7 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.005798, allocations: 4 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.005805, allocations: 3.938 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.005823, allocations: 4 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.005877, allocations: 4 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.005884, allocations: 4.094 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.005899, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.005905, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.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 8.453e-05/0.00599, allocations: 164.6 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.00604, allocations: 45.59 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.006076, allocations: 16.27 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006079, allocations: 0 / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.006085, allocations: 7.938 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006088, allocations: 0 / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.00621, allocations: 124.6 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006212, allocations: 4 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.006245, allocations: 8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.006248, allocations: 0 / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.006258, allocations: 3.984 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.006261, allocations: 3.938 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006262, allocations: 4 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.006393, allocations: 207.5 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.006424, allocations: 15.95 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006435, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.006466, allocations: 7.922 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.006499, allocations: 8 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006503, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.006552, allocations: 139.2 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006552, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.00669, allocations: 8 kB / 277.9 MB, free: 12.67 MB / 266.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 8.277e-05/0.006773, allocations: 95.25 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.006854, allocations: 15.67 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006856, allocations: 0 / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.00687, allocations: 15.69 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.007123, allocations: 24.92 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.007404, allocations: 164.7 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.007442, allocations: 59.34 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.49e-05/0.007457, allocations: 4 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.007485, allocations: 8.5 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.007485, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Templates: time 0.002186/0.009672, allocations: 0.5343 MB / 278.8 MB, free: 11.7 MB / 266.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 -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.883337958017364]