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.00112/0.00112, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001263/0.001263, allocations: 140 kB / 24.89 MB, free: 9.207 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 0.941/0.941, allocations: 173.3 MB / 201.5 MB, free: 9.215 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 8.92e-07/8.92e-07, allocations: 0 / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.633e-05, allocations: 6.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00188/0.001896, allocations: 1.593 MB / 270.1 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.002103, allocations: 143.4 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.002139, allocations: 4 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.00216, allocations: 3.938 kB / 270.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.002219, allocations: 7.922 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.002327, allocations: 39.78 kB / 270.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.002377, allocations: 27.92 kB / 270.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.002414, allocations: 4 kB / 270.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.002442, allocations: 23.91 kB / 270.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.002463, allocations: 11.98 kB / 270.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.002472, allocations: 0 / 270.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.002478, allocations: 4 kB / 270.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.002496, allocations: 11.94 kB / 270.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.002508, allocations: 11.92 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.302e-05/0.002561, allocations: 27.84 kB / 270.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-06/0.002562, allocations: 3.938 kB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002562, allocations: 0 / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.164e-06/0.002564, allocations: 0 / 270.4 MB, free: 4.246 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.0001662/0.002731, allocations: 264.8 kB / 270.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.025e-05/0.002751, allocations: 8.922 kB / 270.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.477e-05/0.002766, allocations: 8.938 kB / 270.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.002856, allocations: 129.7 kB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-06/0.00286, allocations: 4.375 kB / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-06/0.002864, allocations: 384 / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.002954, allocations: 94.3 kB / 270.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.002958, allocations: 4.188 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-06/0.002962, allocations: 4.375 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.002965, allocations: 384 / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.002978, allocations: 15.86 kB / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.585e-05/0.003074, allocations: 141.2 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.648e-05/0.003101, allocations: 41.11 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.053e-05/0.003111, allocations: 13.84 kB / 271.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.003118, allocations: 0 / 271.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.003133, allocations: 42.55 kB / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 4.31e-07/0.003134, allocations: 0 / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 6.438e-05/0.003198, allocations: 41.64 kB / 271.2 MB, free: 3.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.003226, allocations: 85.03 kB / 271.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.003282, allocations: 134.1 kB / 271.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.003291, allocations: 29.7 kB / 271.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.003313, allocations: 88.06 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-06/0.003318, allocations: 4 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.003336, allocations: 9.719 kB / 271.6 MB, free: 2.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.003396, allocations: 318.8 kB / 271.9 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/0.0034, allocations: 0 / 271.9 MB, free: 2.613 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.003405, allocations: 8.188 kB / 271.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.176e-05/0.003416, allocations: 12.84 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.003417, allocations: 0 / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.547e-05/0.003442, allocations: 29.7 kB / 271.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.00345, allocations: 8 kB / 271.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.003452, allocations: 0 / 271.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.003457, allocations: 0 / 271.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.306e-05/0.003481, allocations: 3.938 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.003482, allocations: 4 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-06/0.003492, allocations: 3.984 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-06/0.003493, allocations: 4.094 kB / 271.9 MB, free: 2.531 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 3.952e-05/0.003533, allocations: 112.7 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.003558, allocations: 37.64 kB / 272.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.003573, allocations: 7.797 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.003575, allocations: 4 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.003578, allocations: 7.938 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.003579, allocations: 0 / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.651e-05/0.003646, allocations: 69.89 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.003648, allocations: 3.984 kB / 272.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.00366, allocations: 8.031 kB / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.003661, allocations: 0 / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-06/0.003663, allocations: 0 / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.003665, allocations: 4 kB / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003665, allocations: 0 / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.544e-05/0.003721, allocations: 144.3 kB / 272.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.003737, allocations: 11.89 kB / 272.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-06/0.003744, allocations: 4 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.00377, allocations: 0 / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.003782, allocations: 3.984 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.003783, allocations: 4.031 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.003799, allocations: 32.7 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003799, allocations: 0 / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.003919, allocations: 8 kB / 272.4 MB, free: 2.02 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 4.195e-05/0.00396, allocations: 80.42 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.243e-05/0.003993, allocations: 12.8 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.003995, allocations: 0 / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.004001, allocations: 8.859 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.00412, allocations: 20.42 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001438/0.004264, allocations: 139.8 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.671e-05/0.004291, allocations: 59.34 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.057e-06/0.0043, allocations: 0 / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.004332, allocations: 51.38 kB / 272.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004332, allocations: 0 / 272.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of Templates: time 0.001428/0.00576, allocations: 0.5162 MB / 273.3 MB, free: 1.086 MB / 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 -s gbode -gbm=radauIIA3 -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.443764525000006]