Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001064/0.001064, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009891/0.0009891, allocations: 165 kB / 24.56 MB, free: 4 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.058/1.058, allocations: 177.1 MB / 205 MB, free: 5.605 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.254e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002334/0.002367, allocations: 1.563 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.002722, allocations: 139.4 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.002808, allocations: 8 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.002872, allocations: 3.938 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.003039, allocations: 11.92 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.003275, allocations: 39.67 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.003368, allocations: 27.92 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003479, allocations: 4 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.003531, allocations: 15.92 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.003575, allocations: 11.98 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.003594, allocations: 0 / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.003604, allocations: 4 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.003649, allocations: 15.92 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.003672, allocations: 11.94 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.003773, allocations: 27.89 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.003776, allocations: 0 / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003777, allocations: 0 / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.003783, allocations: 0 / 274.9 MB, free: 15.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004079/0.00419, allocations: 396.3 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004231, allocations: 8.031 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.004271, allocations: 8.891 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.004432, allocations: 136.5 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004444, allocations: 4.375 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.004457, allocations: 4.375 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.004702, allocations: 105.6 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.004713, allocations: 192 / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004722, allocations: 384 / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.004733, allocations: 4.359 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.004754, allocations: 11.88 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.00504, allocations: 267.5 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.005091, allocations: 54.19 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.005113, allocations: 19.31 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.005135, allocations: 4.062 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.005158, allocations: 37.39 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.005159, allocations: 0 / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.0053, allocations: 49.56 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.005341, allocations: 77.11 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.005443, allocations: 193.9 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005452, allocations: 25.95 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.005505, allocations: 134.9 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.005513, allocations: 4 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.00554, allocations: 19.36 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.005664, allocations: 0.4922 MB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.005673, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.005678, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.005699, allocations: 15.62 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.0057, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.079e-05/0.005741, allocations: 33.66 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.005757, allocations: 16.08 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.005765, allocations: 7.938 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.005784, allocations: 0 / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.005849, allocations: 4 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005855, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.005867, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.005874, allocations: 4 kB / 277 MB, free: 13.29 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 7.055e-05/0.005944, allocations: 156.6 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.00601, allocations: 41.58 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.006047, allocations: 19.78 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006048, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.006053, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006056, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.00616, allocations: 124.6 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006162, allocations: 0 / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.006185, allocations: 7.984 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006187, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.006192, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006194, allocations: 3.938 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006195, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.774e-05/0.006292, allocations: 203.6 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.006316, allocations: 19.88 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006325, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.006356, allocations: 7.938 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.006384, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006387, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.006454, allocations: 146 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006455, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.006587, allocations: 4 kB / 277.7 MB, free: 12.5 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: 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 7.092e-05/0.006658, allocations: 99.28 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.006731, allocations: 23.56 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006733, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.006744, allocations: 11.69 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.006979, allocations: 12.3 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.007218, allocations: 145.4 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.007254, allocations: 59.34 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.187e-05/0.007266, allocations: 224 / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.007288, allocations: 16.5 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007289, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Templates: time 0.002017/0.009306, allocations: 0.4918 MB / 278.5 MB, free: 11.58 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1010862290859222]