Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 96.25 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.631e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00362/0.003657, allocations: 1.537 MB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.004192, allocations: 147.5 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004296, allocations: 0 / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.625e-05/0.004362, allocations: 3.938 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.004503, allocations: 7.938 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.004774, allocations: 43.75 kB / 273.9 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.004904, allocations: 31.92 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005007, allocations: 11.91 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.005087, allocations: 19.91 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.005139, allocations: 11.98 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.005161, allocations: 4 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.005174, allocations: 4 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.005232, allocations: 19.92 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.005268, allocations: 7.938 kB / 274 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.00541, allocations: 47.75 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.005417, allocations: 4 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005418, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005423, allocations: 0 / 274.1 MB, free: 15.89 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.0005174/0.00594, allocations: 286.1 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.005982, allocations: 11.98 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.006039, allocations: 16.88 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.006319, allocations: 137.6 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.006331, allocations: 384 / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.006342, allocations: 4.375 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.00668, allocations: 125.5 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.006691, allocations: 192 / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.006704, allocations: 4.375 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.006709, allocations: 384 / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.006794, allocations: 27.86 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.007139, allocations: 205.4 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.007358, allocations: 57.2 kB / 274.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.007434, allocations: 25.77 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.007458, allocations: 4 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.00749, allocations: 34.5 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.007491, allocations: 0 / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003176/0.007808, allocations: 89.5 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.007889, allocations: 81.11 kB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.008057, allocations: 141 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.008079, allocations: 25.7 kB / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.008154, allocations: 88.14 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.008163, allocations: 0 / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.008204, allocations: 17.67 kB / 275.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.008396, allocations: 318.8 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.008435, allocations: 4 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.008464, allocations: 8.125 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.008531, allocations: 20.84 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008532, allocations: 4 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001275/0.00866, allocations: 49.62 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.008677, allocations: 4 kB / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.008685, allocations: 3.938 kB / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.008701, allocations: 0 / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.008752, allocations: 7.984 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.008758, allocations: 4.094 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.008783, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.00879, allocations: 4 kB / 275.9 MB, free: 13.9 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.0001183/0.008909, allocations: 117.8 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.008997, allocations: 49.59 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.009043, allocations: 20.27 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009045, allocations: 0 / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.00905, allocations: 0 / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009053, allocations: 240 / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.009226, allocations: 109.3 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.009232, allocations: 11.94 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.009284, allocations: 7.984 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.00929, allocations: 4 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.009303, allocations: 7.984 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.009308, allocations: 3.938 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009309, allocations: 0 / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.009539, allocations: 168.3 kB / 276.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.009576, allocations: 11.95 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.00959, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.009656, allocations: 7.938 kB / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.009694, allocations: 11.98 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.009698, allocations: 0 / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.009789, allocations: 99.27 kB / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009789, allocations: 0 / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01001, allocations: 8 kB / 276.5 MB, free: 13.21 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.0001244/0.01014, allocations: 95.25 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01027, allocations: 23.97 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01027, allocations: 0 / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.01031, allocations: 12 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.01068, allocations: 20.86 kB / 276.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.0111, allocations: 163 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.0112, allocations: 71.33 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.238e-05/0.01123, allocations: 0 / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.01126, allocations: 12.5 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01126, allocations: 0 / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003412/0.01467, allocations: 0.5224 MB / 277.4 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.242741021094844]