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.001676/0.001676, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001699/0.001699, allocations: 212.4 kB / 23.73 MB, free: 4.523 MB / 14.72 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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 0.001569/0.001569, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3385, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002967/0.3414, allocations: 1.523 MB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.3419, allocations: 135.5 kB / 433.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.3419, allocations: 3.938 kB / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.342, allocations: 0 / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3421, allocations: 11.92 kB / 433.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3424, allocations: 39.84 kB / 433.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3425, allocations: 27.86 kB / 433.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3426, allocations: 8 kB / 433.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.3426, allocations: 15.91 kB / 433.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.3427, allocations: 11.94 kB / 433.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3427, allocations: 4 kB / 433.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.3427, allocations: 4 kB / 433.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.3427, allocations: 19.86 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3428, allocations: 11.88 kB / 433.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3429, allocations: 47.47 kB / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3429, allocations: 0 / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3429, allocations: 0 / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3429, allocations: 0 / 433.4 MB, free: 4.832 MB / 334.1 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.0005098/0.3434, allocations: 288.7 kB / 433.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3435, allocations: 8.031 kB / 433.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3435, allocations: 8.891 kB / 433.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3438, allocations: 134.4 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3438, allocations: 8.359 kB / 433.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3438, allocations: 384 / 433.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3441, allocations: 97.61 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3441, allocations: 192 / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3441, allocations: 3.938 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3441, allocations: 0 / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.3442, allocations: 11.98 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.3445, allocations: 213.4 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.3446, allocations: 41.22 kB / 434.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.3446, allocations: 17.77 kB / 434.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3447, allocations: 11.94 kB / 434.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3447, allocations: 34.5 kB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3447, allocations: 0 / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002691/0.345, allocations: 57.89 kB / 434.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.345, allocations: 93.02 kB / 434.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3452, allocations: 134.1 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3452, allocations: 25.7 kB / 434.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3453, allocations: 88.14 kB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.3453, allocations: 0 / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3453, allocations: 17.7 kB / 434.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3455, allocations: 314.8 kB / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.3455, allocations: 4 kB / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.3455, allocations: 21.7 kB / 435 MB, free: 3.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.3456, allocations: 33.7 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3456, allocations: 0 / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/0.3457, allocations: 57.58 kB / 435.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3457, allocations: 4 kB / 435.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3457, allocations: 4 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3458, allocations: 0 / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.3458, allocations: 11.98 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3458, allocations: 8 kB / 435.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.3459, allocations: 7.938 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3459, allocations: 0 / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001077/0.346, allocations: 113.8 kB / 435.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.3461, allocations: 45.58 kB / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.3461, allocations: 11.81 kB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3461, allocations: 0 / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3461, allocations: 0 / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3461, allocations: 0 / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3462, allocations: 109.3 kB / 435.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3462, allocations: 4.031 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.3463, allocations: 11.98 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3463, allocations: 3.938 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3463, allocations: 0 / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3463, allocations: 0 / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3463, allocations: 0 / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.3465, allocations: 156.3 kB / 435.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3465, allocations: 15.88 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3465, allocations: 7.938 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3466, allocations: 4.031 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3467, allocations: 7.984 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3467, allocations: 7.984 kB / 435.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3468, allocations: 102.2 kB / 435.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3468, allocations: 0 / 435.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.347, allocations: 4 kB / 435.7 MB, free: 2.23 MB / 334.1 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.0001077/0.3471, allocations: 99.25 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3473, allocations: 19.98 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3473, allocations: 4.062 kB / 435.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.3473, allocations: 15.98 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3477, allocations: 6.609 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.348, allocations: 150.3 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.3481, allocations: 71.33 kB / 436.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.385e-05/0.3481, allocations: 4 kB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3481, allocations: 7.438 kB / 436.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3481, allocations: 4.156 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Templates: time 0.002919/0.351, allocations: 496.6 kB / 436.6 MB, free: 1.316 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] 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.668939562048763]