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.001422/0.001422, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002453/0.003875, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001609/0.001609, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002094/0.003703, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.145/1.145, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.126/1.271, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.863e-06/1.863e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.059e-05, allocations: 5.969 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003092/0.003123, allocations: 1.619 MB / 246.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.00545, allocations: 148.1 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.005535, allocations: 0 / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.00558, allocations: 3.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.005657, allocations: 19.86 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.005841, allocations: 27.91 kB / 246.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.005945, allocations: 23.92 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.00603, allocations: 11.94 kB / 246.5 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.006104, allocations: 31.95 kB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.006158, allocations: 7.938 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.006184, allocations: 4 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.006194, allocations: 0 / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.006247, allocations: 12 kB / 246.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.006269, allocations: 7.938 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.006369, allocations: 23.86 kB / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.00638, allocations: 0 / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006381, allocations: 0 / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.006392, allocations: 0 / 246.6 MB, free: 12.28 MB / 250.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.0003774/0.006769, allocations: 272.3 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006804, allocations: 12.03 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.006838, allocations: 8.922 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.007003, allocations: 137.6 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.007012, allocations: 4.375 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.007022, allocations: 384 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.007184, allocations: 94.3 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.007192, allocations: 192 / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.0072, allocations: 8.375 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007206, allocations: 384 / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.007221, allocations: 7.938 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.007559, allocations: 169 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.007607, allocations: 33.19 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.007623, allocations: 13.84 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.007639, allocations: 0 / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.007664, allocations: 42.5 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.007665, allocations: 0 / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001181/0.007783, allocations: 45.62 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.00783, allocations: 81.05 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.007916, allocations: 130.7 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.007926, allocations: 25.7 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.00796, allocations: 84.14 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.00797, allocations: 3.984 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.007998, allocations: 13.72 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.008084, allocations: 318.8 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.008091, allocations: 0 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.008096, allocations: 256 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.01114, allocations: 12.92 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01114, allocations: 0 / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.758e-05/0.01121, allocations: 37.62 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01122, allocations: 10.5 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.01123, allocations: 0 / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01124, allocations: 0 / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.0113, allocations: 3.938 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.0113, allocations: 7.938 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.01132, allocations: 3.953 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.01133, allocations: 0 / 248.2 MB, free: 10.54 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 6.742e-05/0.01139, allocations: 116.7 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.01144, allocations: 37.62 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.01147, allocations: 7.812 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01147, allocations: 4 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01147, allocations: 3.938 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01148, allocations: 0 / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.0116, allocations: 73.88 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0116, allocations: 0 / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.01162, allocations: 4 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.01165, allocations: 12.02 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01165, allocations: 4 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.01166, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01166, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01166, allocations: 3.938 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.01176, allocations: 144.3 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.01177, allocations: 4 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.01181, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.01184, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.01184, allocations: 4 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.962e-05/0.01187, allocations: 28.47 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 0 / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.01205, allocations: 4 kB / 248.6 MB, free: 10.04 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 9.542e-05/0.01214, allocations: 84.41 kB / 248.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.01221, allocations: 8.859 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.01221, allocations: 4 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.01223, allocations: 8.797 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01249, allocations: 83.75 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.01292, allocations: 159.6 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.01297, allocations: 55.36 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.01299, allocations: 0 / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.01304, allocations: 59.36 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01304, allocations: 0 / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of Templates: time 0.005274/0.01832, allocations: 0.503 MB / 249.6 MB, free: 9.02 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.905080153606832]