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.0007116/0.0007116, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009093/0.001621, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006064/0.0006064, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009009/0.001507, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9662/0.9662, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08146/1.048, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.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.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.372e-06/1.372e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.594e-05, allocations: 5.125 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002949/0.002975, allocations: 1.583 MB / 241.1 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003089/0.003283, allocations: 144.9 kB / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.003356, allocations: 4 kB / 241.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.0034, allocations: 7.922 kB / 241.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.003478, allocations: 7.922 kB / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.003676, allocations: 27.92 kB / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003781, allocations: 35.84 kB / 241.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.003865, allocations: 11.98 kB / 241.4 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.003933, allocations: 23.97 kB / 241.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.003981, allocations: 7.938 kB / 241.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.004006, allocations: 4 kB / 241.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.004016, allocations: 0 / 241.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.004052, allocations: 11.94 kB / 241.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.004074, allocations: 4 kB / 241.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.004181, allocations: 35.78 kB / 241.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.0042, allocations: 3.984 kB / 241.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004201, allocations: 0 / 241.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.004219, allocations: 3.938 kB / 241.5 MB, free: 1.266 MB / 234.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.0004052/0.004624, allocations: 272.3 kB / 241.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.004657, allocations: 12.03 kB / 241.7 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.004693, allocations: 8.922 kB / 241.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.00487, allocations: 125.7 kB / 241.9 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.004887, allocations: 4.375 kB / 241.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.004895, allocations: 4.375 kB / 241.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.005068, allocations: 94.3 kB / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005076, allocations: 192 / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.005083, allocations: 384 / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.005089, allocations: 4.375 kB / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.00511, allocations: 11.88 kB / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.005307, allocations: 149.1 kB / 242.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.00536, allocations: 41.16 kB / 242.2 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.005378, allocations: 9.719 kB / 242.2 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.005398, allocations: 4.062 kB / 242.2 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.00542, allocations: 30.56 kB / 242.2 MB, free: 396 kB / 234.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005422, allocations: 0 / 242.2 MB, free: 396 kB / 234.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001241/0.005546, allocations: 45.81 kB / 242.3 MB, free: 344 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.005599, allocations: 89.05 kB / 242.3 MB, free: 236 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.005695, allocations: 132.2 kB / 242.5 MB, free: 92 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005707, allocations: 25.7 kB / 242.5 MB, free: 60 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.005766, allocations: 88.09 kB / 242.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.005774, allocations: 3.938 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.005852, allocations: 17.7 kB / 242.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.005931, allocations: 314.8 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.005951, allocations: 0 / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-06/0.00596, allocations: 7.938 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.005984, allocations: 12.98 kB / 242.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005986, allocations: 0 / 242.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.293e-05/0.006039, allocations: 37.69 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.006052, allocations: 4 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006056, allocations: 0 / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.006065, allocations: 0 / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.006127, allocations: 7.938 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.006129, allocations: 0 / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.006145, allocations: 0 / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.006148, allocations: 0 / 243 MB, free: 15.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 5.358e-05/0.006202, allocations: 116.7 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.006232, allocations: 37.62 kB / 243.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.006259, allocations: 15.77 kB / 243.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006261, allocations: 0 / 243.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.006265, allocations: 7.938 kB / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006267, allocations: 0 / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.006351, allocations: 73.88 kB / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006352, allocations: 0 / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.006378, allocations: 7.984 kB / 243.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.006406, allocations: 11.95 kB / 243.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006407, allocations: 4.031 kB / 243.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.00641, allocations: 0 / 243.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006411, allocations: 0 / 243.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.006419, allocations: 7.938 kB / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.00648, allocations: 136.3 kB / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006488, allocations: 0 / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.00654, allocations: 4 kB / 243.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.006563, allocations: 7.984 kB / 243.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006565, allocations: 0 / 243.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.006589, allocations: 31.86 kB / 243.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006589, allocations: 4.031 kB / 243.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001147/0.006704, allocations: 7.938 kB / 243.4 MB, free: 15.02 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 8.348e-05/0.006787, allocations: 80.41 kB / 243.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.186e-05/0.006839, allocations: 16.8 kB / 243.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.006842, allocations: 0 / 243.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.006851, allocations: 4.859 kB / 243.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.007023, allocations: 24.23 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.007373, allocations: 147.8 kB / 243.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.007404, allocations: 59.34 kB / 243.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.254e-05/0.007416, allocations: 0 / 243.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.007458, allocations: 59.36 kB / 243.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007458, allocations: 0 / 243.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of Templates: time 0.001856/0.009314, allocations: 0.5062 MB / 244.3 MB, free: 14.07 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 -ignoreHideResult -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","",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.3781310841441154]