Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.677/1.677, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 60.14 kB / 378.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3735, allocations: 53.37 MB / 432.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00307/0.3766, allocations: 1.539 MB / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000406/0.377, allocations: 139.5 kB / 433.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.3771, allocations: 3.938 kB / 433.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.884e-05/0.3771, allocations: 3.938 kB / 433.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3773, allocations: 11.92 kB / 433.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3775, allocations: 35.91 kB / 433.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3776, allocations: 31.92 kB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3778, allocations: 11.98 kB / 433.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.3778, allocations: 15.92 kB / 433.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3778, allocations: 19.86 kB / 433.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3779, allocations: 8 kB / 433.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.3779, allocations: 0 / 433.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.3779, allocations: 15.92 kB / 433.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.378, allocations: 19.88 kB / 434 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3781, allocations: 53.59 kB / 434 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3781, allocations: 0 / 434 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3781, allocations: 4 kB / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3781, allocations: 0 / 434 MB, free: 5.309 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004926/0.3786, allocations: 290.1 kB / 434.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3787, allocations: 12.03 kB / 434.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3787, allocations: 8.891 kB / 434.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3789, allocations: 142.3 kB / 434.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3789, allocations: 384 / 434.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.379, allocations: 8.375 kB / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.3793, allocations: 117.5 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3793, allocations: 192 / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3793, allocations: 3.938 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3793, allocations: 4 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.3794, allocations: 15.98 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3797, allocations: 228.8 kB / 434.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3799, allocations: 65.12 kB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.38, allocations: 29.78 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.38, allocations: 0 / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.38, allocations: 46.42 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.38, allocations: 0 / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002629/0.3803, allocations: 77.56 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.3803, allocations: 81.11 kB / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3805, allocations: 137.1 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3805, allocations: 25.7 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3805, allocations: 84.14 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3806, allocations: 23.98 kB / 435.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.3806, allocations: 17.72 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3807, allocations: 310.8 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.3808, allocations: 11.98 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.3808, allocations: 31.42 kB / 435.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.3809, allocations: 51.36 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3809, allocations: 0 / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.381, allocations: 65.5 kB / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3811, allocations: 8.125 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3811, allocations: 4 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3811, allocations: 0 / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.3811, allocations: 15.98 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3811, allocations: 0 / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.3812, allocations: 7.953 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3812, allocations: 0 / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.828e-05/0.3813, allocations: 125.8 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.3814, allocations: 45.92 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.3814, allocations: 20.27 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3814, allocations: 8.031 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3814, allocations: 0 / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3814, allocations: 0 / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3816, allocations: 140.6 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3816, allocations: 4 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.3816, allocations: 8 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3816, allocations: 4 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3816, allocations: 0 / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3816, allocations: 0 / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3816, allocations: 3.938 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3818, allocations: 172.3 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.3818, allocations: 15.94 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3819, allocations: 4 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.3819, allocations: 0 / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.3819, allocations: 0 / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3819, allocations: 11.98 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.382, allocations: 103.3 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.382, allocations: 0 / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.3822, allocations: 8 kB / 436.6 MB, free: 2.434 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.461e-05/0.3823, allocations: 91.25 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.3825, allocations: 35.91 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3825, allocations: 256 / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.3825, allocations: 12 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3828, allocations: 23.95 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3832, allocations: 158.3 kB / 436.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3835, allocations: 0.6876 MB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.3835, allocations: 3.984 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.3835, allocations: 11.44 kB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3835, allocations: 4.062 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Templates: time 0.002902/0.3864, allocations: 0.5132 MB / 438.1 MB, free: 0.8438 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 5.295140237547457]