Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001694/0.001694, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002001/0.002001, allocations: 156.9 kB / 24.27 MB, free: 172 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.527/1.527, allocations: 177 MB / 204.5 MB, free: 5.609 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.021e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.005032/0.005072, allocations: 1.528 MB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006329/0.005705, allocations: 131.5 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.005784, allocations: 4 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.005848, allocations: 3.938 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.006009, allocations: 15.92 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.006345, allocations: 31.78 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.006462, allocations: 31.91 kB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.006569, allocations: 8 kB / 273.9 MB, free: 44 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.006638, allocations: 15.92 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.006685, allocations: 7.984 kB / 274 MB, free: 20 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.006711, allocations: 4 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.006722, allocations: 0 / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.006782, allocations: 11.94 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.006859, allocations: 19.97 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.007023, allocations: 39.78 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.007027, allocations: 0 / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007028, allocations: 0 / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007033, allocations: 3.938 kB / 274 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006458/0.007679, allocations: 286.1 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.00773, allocations: 11.98 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.007802, allocations: 8.891 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.008164, allocations: 129.7 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.008189, allocations: 12.38 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.008202, allocations: 384 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.008593, allocations: 89.61 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.008604, allocations: 192 / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.008615, allocations: 384 / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.008621, allocations: 384 / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.008763, allocations: 23.86 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.0092, allocations: 205.4 kB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.009361, allocations: 53.14 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.009435, allocations: 13.78 kB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.009458, allocations: 0 / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.009497, allocations: 34.56 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.009498, allocations: 0 / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.009848, allocations: 65.55 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.009943, allocations: 85.11 kB / 275 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01015, allocations: 134.4 kB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.01018, allocations: 25.7 kB / 275.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.01026, allocations: 92.08 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.01027, allocations: 0 / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.01033, allocations: 21.66 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.01054, allocations: 310.8 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.0106, allocations: 11.92 kB / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.01064, allocations: 8 kB / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.01075, allocations: 20.91 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01075, allocations: 4 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001645/0.01091, allocations: 49.64 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.01094, allocations: 4 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.01095, allocations: 7.938 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.01097, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.01105, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.01106, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.01111, allocations: 3.984 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01111, allocations: 0 / 275.7 MB, free: 14.05 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.0001538/0.01127, allocations: 117.8 kB / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.01138, allocations: 41.69 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.01142, allocations: 11.75 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.01143, allocations: 3.984 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01143, allocations: 0 / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01143, allocations: 0 / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.01171, allocations: 117.3 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01171, allocations: 4 kB / 276 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.01176, allocations: 7.984 kB / 276 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01177, allocations: 4.031 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01178, allocations: 0 / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.01178, allocations: 3.938 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.01179, allocations: 4 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.01206, allocations: 148.3 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.01213, allocations: 19.94 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01215, allocations: 0 / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01226, allocations: 7.938 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.01231, allocations: 0 / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01231, allocations: 0 / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.01247, allocations: 114.2 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01247, allocations: 0 / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.01288, allocations: 7.938 kB / 276.3 MB, free: 13.39 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 0.0001651/0.01305, allocations: 95.19 kB / 276.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.01323, allocations: 19.92 kB / 276.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01323, allocations: 0 / 276.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.0133, allocations: 11.98 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.01382, allocations: 24.16 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.0143, allocations: 152.6 kB / 276.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.01444, allocations: 67.34 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.01446, allocations: 3.938 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.01451, allocations: 16.48 kB / 276.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01451, allocations: 0 / 276.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Templates: time 0.004454/0.01896, allocations: 0.4886 MB / 277.2 MB, free: 12.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.480026893084869]