Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.065/1.065, allocations: 173.4 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.665e-05, allocations: 6.25 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003144/0.003171, allocations: 1.541 MB / 269.9 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004234/0.003594, allocations: 147.4 kB / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.003689, allocations: 3.938 kB / 270.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.003742, allocations: 0 / 270.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.003919, allocations: 7.938 kB / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.004163, allocations: 35.84 kB / 270.1 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.004272, allocations: 31.86 kB / 270.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.004372, allocations: 7.984 kB / 270.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.004429, allocations: 15.98 kB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.004474, allocations: 11.92 kB / 270.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.004493, allocations: 4 kB / 270.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.004503, allocations: 0 / 270.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.004546, allocations: 11.92 kB / 270.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.004566, allocations: 8 kB / 270.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.004664, allocations: 35.78 kB / 270.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004666, allocations: 0 / 270.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004667, allocations: 4 kB / 270.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004671, allocations: 0 / 270.3 MB, free: 4.312 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.0003964/0.005067, allocations: 388.4 kB / 270.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.005114, allocations: 12.92 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.005149, allocations: 12.83 kB / 270.7 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005306, allocations: 128.5 kB / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005316, allocations: 4.375 kB / 270.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.005325, allocations: 4.375 kB / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.005508, allocations: 113.6 kB / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.005516, allocations: 192 / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.005523, allocations: 384 / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005528, allocations: 384 / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.005549, allocations: 15.86 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.005802, allocations: 236.1 kB / 271.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.00586, allocations: 54.06 kB / 271.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.00588, allocations: 19.5 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.005906, allocations: 4 kB / 271.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.005938, allocations: 37.39 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.005939, allocations: 4 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001547/0.006094, allocations: 49.52 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.006146, allocations: 81.11 kB / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.00626, allocations: 189 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.006269, allocations: 25.7 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.006323, allocations: 134.9 kB / 271.7 MB, free: 2.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.006332, allocations: 3.953 kB / 271.7 MB, free: 2.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006369, allocations: 27.59 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006511, allocations: 496.1 kB / 272.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.006522, allocations: 3.938 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.00653, allocations: 0 / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.006553, allocations: 11.69 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006555, allocations: 0 / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.082e-05/0.006616, allocations: 29.7 kB / 272.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.006628, allocations: 8 kB / 272.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006633, allocations: 0 / 272.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.006652, allocations: 15.86 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.006706, allocations: 8.094 kB / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006709, allocations: 0 / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.006724, allocations: 0 / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.006728, allocations: 3.938 kB / 272.3 MB, free: 1.992 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 7.745e-05/0.006806, allocations: 160.6 kB / 272.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.006858, allocations: 33.66 kB / 272.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.006889, allocations: 11.8 kB / 272.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.006892, allocations: 3.938 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006894, allocations: 0 / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006896, allocations: 0 / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.007028, allocations: 113.3 kB / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00703, allocations: 0 / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.007062, allocations: 4 kB / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007064, allocations: 0 / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.007068, allocations: 4 kB / 272.7 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.00707, allocations: 0 / 272.7 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007071, allocations: 0 / 272.7 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.007183, allocations: 199.5 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.007214, allocations: 19.89 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.007223, allocations: 0 / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.007273, allocations: 4.031 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.007297, allocations: 7.984 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007301, allocations: 3.938 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.833e-05/0.00736, allocations: 139.2 kB / 273 MB, free: 1.234 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00736, allocations: 0 / 273 MB, free: 1.234 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.007581, allocations: 0 / 273 MB, free: 1.234 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 8.663e-05/0.007668, allocations: 99.25 kB / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.125e-05/0.007729, allocations: 15.62 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007731, allocations: 64 / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.007742, allocations: 15.69 kB / 273.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.008031, allocations: 20.23 kB / 273.2 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.008291, allocations: 141.4 kB / 273.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.008335, allocations: 63.28 kB / 273.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.008351, allocations: 7.938 kB / 273.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.008408, allocations: 78.19 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.008409, allocations: 3.938 kB / 273.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of Templates: time 0.002525/0.01093, allocations: 0.5321 MB / 274 MB, free: 212 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.691175689920783]