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.002397/0.002397, allocations: 91.61 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.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.002791/0.002791, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.412e-06/1.412e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.909e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003528/0.003557, allocations: 1.552 MB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.004036, allocations: 143.4 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.004113, allocations: 4 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.004177, allocations: 3.938 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.004322, allocations: 7.938 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.004572, allocations: 47.77 kB / 274.1 MB, free: 92 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.004682, allocations: 27.92 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.004777, allocations: 11.98 kB / 274.1 MB, free: 52 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.004834, allocations: 19.92 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.004877, allocations: 11.98 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004895, allocations: 0 / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.004905, allocations: 4 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.004958, allocations: 15.92 kB / 274.2 MB, free: 0 / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.00501, allocations: 8.062 kB / 274.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.005132, allocations: 43.81 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005135, allocations: 0 / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005136, allocations: 4 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.005147, allocations: 4 kB / 274.2 MB, free: 15.94 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.0005735/0.005721, allocations: 396 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.005761, allocations: 12.02 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.005812, allocations: 16.89 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.006033, allocations: 132.5 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.006047, allocations: 4.375 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.006059, allocations: 4.375 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.006393, allocations: 124.9 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.006406, allocations: 4.125 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.006417, allocations: 4.375 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006421, allocations: 384 / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.006493, allocations: 19.92 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.00688, allocations: 263.5 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.00713, allocations: 74.11 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/0.007206, allocations: 39.36 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.007232, allocations: 7.984 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.007267, allocations: 37.39 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.007268, allocations: 3.938 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002819/0.00755, allocations: 73.56 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.007638, allocations: 85.05 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.007845, allocations: 201.8 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.007869, allocations: 25.7 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.007975, allocations: 134.9 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.007988, allocations: 8.125 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.008051, allocations: 31.31 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000297/0.008348, allocations: 492.1 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.008384, allocations: 4 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.008408, allocations: 8 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.008461, allocations: 15.67 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008463, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.008565, allocations: 45.62 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008581, allocations: 8.094 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.008589, allocations: 3.938 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.008604, allocations: 0 / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.008657, allocations: 8 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.008663, allocations: 0 / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.008685, allocations: 4 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008691, allocations: 4 kB / 276.5 MB, free: 13.44 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 0.0001321/0.008823, allocations: 152.6 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.008919, allocations: 49.64 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.008959, allocations: 16.28 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008961, allocations: 4 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008964, allocations: 0 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.008973, allocations: 7.984 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.009159, allocations: 124.6 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.009163, allocations: 4 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.00921, allocations: 7.938 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.009212, allocations: 0 / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.009219, allocations: 7.938 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.009223, allocations: 3.938 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009225, allocations: 0 / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.009502, allocations: 223.6 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.009542, allocations: 11.95 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.009562, allocations: 7.984 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.009619, allocations: 3.938 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.009657, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.009663, allocations: 7.938 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.009775, allocations: 143.2 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009775, allocations: 0 / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.009992, allocations: 4 kB / 277.2 MB, free: 12.6 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 0.0001364/0.01013, allocations: 102.2 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01027, allocations: 27.67 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01027, allocations: 0 / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.01031, allocations: 19.67 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.01065, allocations: 20.81 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01103, allocations: 164.8 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.01112, allocations: 71.75 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.71e-05/0.01114, allocations: 128 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.01117, allocations: 16.5 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01117, allocations: 0 / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.003393/0.01457, allocations: 0.5231 MB / 278.2 MB, free: 11.6 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.448900587973185]