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.0008634/0.0008634, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008569/0.0008569, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 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 0.8914/0.8914, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.17e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002682/0.002704, allocations: 1.572 MB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.003088, allocations: 147.3 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.00316, allocations: 0 / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.00321, allocations: 3.938 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.003332, allocations: 15.94 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.003534, allocations: 39.83 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.003621, allocations: 23.88 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.003693, allocations: 7.984 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.003749, allocations: 19.97 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.003786, allocations: 7.938 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.003807, allocations: 0 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.003817, allocations: 4 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.00386, allocations: 11.98 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.003885, allocations: 7.938 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.003976, allocations: 31.84 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003977, allocations: 4 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003978, allocations: 0 / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003981, allocations: 0 / 275.3 MB, free: 15.29 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.0003129/0.004294, allocations: 260.7 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.004329, allocations: 12.03 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.00436, allocations: 8.922 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.004758, allocations: 129.1 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.00477, allocations: 4.359 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004781, allocations: 4.375 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.004948, allocations: 102.2 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004955, allocations: 192 / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.004962, allocations: 384 / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.00497, allocations: 4.375 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.004986, allocations: 3.938 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.005166, allocations: 157.1 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.005214, allocations: 33.19 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.005232, allocations: 17.78 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005244, allocations: 4 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.005267, allocations: 34.55 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.005268, allocations: 0 / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001129/0.005381, allocations: 49.62 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.005425, allocations: 81.05 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.005509, allocations: 126.7 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.00552, allocations: 29.7 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.00555, allocations: 80.14 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.005557, allocations: 0 / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.005589, allocations: 25.92 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.005672, allocations: 322.8 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.00568, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.005686, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.005709, allocations: 12.8 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005711, allocations: 0 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.067e-05/0.005762, allocations: 29.7 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005776, allocations: 7.984 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.00578, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.005792, allocations: 4.094 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.005842, allocations: 11.92 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005845, allocations: 0 / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.005864, allocations: 4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.005868, allocations: 0 / 276.9 MB, free: 13.57 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 5.97e-05/0.005928, allocations: 108.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.005977, allocations: 41.62 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.006001, allocations: 11.75 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006004, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.006007, allocations: 7.938 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00601, allocations: 4.031 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.006128, allocations: 69.88 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006129, allocations: 4 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.006155, allocations: 8 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006157, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.006161, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.006164, allocations: 3.984 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006165, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.425e-05/0.006249, allocations: 144.3 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.00628, allocations: 15.92 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.006289, allocations: 4.031 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.006341, allocations: 4 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.00636, allocations: 0 / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.006363, allocations: 0 / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.006393, allocations: 28.77 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006393, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.006605, allocations: 7.953 kB / 277.3 MB, free: 13.06 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 8.069e-05/0.006686, allocations: 76.42 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.595e-05/0.006742, allocations: 20.84 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006745, allocations: 4.062 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.006758, allocations: 12.8 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.006975, allocations: 8.312 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.00722, allocations: 135.9 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.00726, allocations: 55.36 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.007277, allocations: 7.984 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.007325, allocations: 51.38 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.007325, allocations: 0 / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of Templates: time 0.002381/0.009706, allocations: 0.5043 MB / 278.2 MB, free: 12.13 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: 2.4666886730119586]