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.002424/0.002424, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002262/0.002262, allocations: 165.3 kB / 24.27 MB, free: 152 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.649/1.649, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.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.573e-06/1.573e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.766e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002944/0.002972, allocations: 1.533 MB / 273.8 MB, free: 308 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.003422, allocations: 139.5 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.00349, allocations: 4 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.602e-05/0.003546, allocations: 3.938 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003667, allocations: 7.922 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.003905, allocations: 39.78 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.004022, allocations: 27.92 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.004115, allocations: 8 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.004166, allocations: 19.92 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.004207, allocations: 7.984 kB / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.004225, allocations: 0 / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.004238, allocations: 4 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.004298, allocations: 15.92 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.004323, allocations: 7.938 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004461, allocations: 39.94 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.004464, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004465, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004469, allocations: 0 / 274.2 MB, free: 15.98 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.000502/0.004971, allocations: 396 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.005007, allocations: 15.97 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.00505, allocations: 8.891 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.005267, allocations: 132.5 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005277, allocations: 384 / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.005289, allocations: 4.375 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.005536, allocations: 100.9 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005544, allocations: 192 / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.005552, allocations: 4.375 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005559, allocations: 4.375 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.00562, allocations: 11.92 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.005955, allocations: 271.4 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.006067, allocations: 62.23 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.006115, allocations: 19.38 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.006133, allocations: 3.938 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.006175, allocations: 33.39 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006175, allocations: 0 / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002308/0.006406, allocations: 69.56 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.006477, allocations: 81.09 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.006651, allocations: 197.9 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.006669, allocations: 25.7 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.006758, allocations: 134.8 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.006767, allocations: 4 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.006807, allocations: 19.38 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.00706, allocations: 0.4883 MB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.007101, allocations: 7.984 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.007122, allocations: 8.25 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.007173, allocations: 15.62 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007174, allocations: 0 / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.207e-05/0.007266, allocations: 49.64 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.007285, allocations: 4 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.007295, allocations: 7.922 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.007309, allocations: 0 / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.007363, allocations: 4 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.007373, allocations: 8.062 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.007396, allocations: 8 kB / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.007401, allocations: 0 / 276.3 MB, free: 13.56 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.0001186/0.007519, allocations: 152.6 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.007592, allocations: 45.64 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.00763, allocations: 19.73 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007632, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.007635, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007638, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.007815, allocations: 128.6 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007817, allocations: 4.031 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.007853, allocations: 4 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007855, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007861, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.007865, allocations: 7.938 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007866, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.008096, allocations: 207.5 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.008134, allocations: 11.94 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008149, allocations: 8 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.008205, allocations: 3.938 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.008242, allocations: 4.031 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.008248, allocations: 4 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.008352, allocations: 143.2 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008352, allocations: 0 / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.008561, allocations: 7.938 kB / 277.1 MB, free: 12.75 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.0001248/0.008686, allocations: 99.25 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.008808, allocations: 23.61 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008809, allocations: 0 / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.008851, allocations: 23.69 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.00917, allocations: 11.55 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.009661, allocations: 157.4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.009752, allocations: 67.34 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.009774, allocations: 3.984 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.009805, allocations: 8.5 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009806, allocations: 0 / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003662/0.01347, allocations: 492.4 kB / 277.9 MB, free: 11.83 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.523959017940797]