Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.009948/0.009948, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.002124/0.002124, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.606/1.606, allocations: 230.6 MB / 259 MB, free: 8.023 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-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.88 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 53.37 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003295/0.3464, allocations: 1.524 MB / 434.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004074/0.3468, allocations: 139.5 kB / 434.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.3468, allocations: 0 / 434.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.3469, allocations: 3.938 kB / 434.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.347, allocations: 11.92 kB / 434.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.3473, allocations: 39.84 kB / 434.9 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.3474, allocations: 27.92 kB / 434.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3475, allocations: 11.94 kB / 434.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.3475, allocations: 7.984 kB / 434.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.3475, allocations: 15.88 kB / 434.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3476, allocations: 4 kB / 434.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.3476, allocations: 0 / 434.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3476, allocations: 11.98 kB / 435 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3477, allocations: 23.75 kB / 435 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3478, allocations: 49.02 kB / 435 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3478, allocations: 0 / 435 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3478, allocations: 4 kB / 435 MB, free: 5.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3478, allocations: 0 / 435 MB, free: 5.07 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.000445/0.3482, allocations: 282.1 kB / 435.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3483, allocations: 12.03 kB / 435.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.3483, allocations: 8.891 kB / 435.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3486, allocations: 137.1 kB / 435.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.3486, allocations: 384 / 435.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3486, allocations: 4.375 kB / 435.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3488, allocations: 97.55 kB / 435.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3488, allocations: 192 / 435.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3489, allocations: 7.938 kB / 435.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3489, allocations: 0 / 435.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.3489, allocations: 19.92 kB / 435.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3493, allocations: 232.9 kB / 435.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3494, allocations: 45.08 kB / 435.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.3494, allocations: 17.78 kB / 435.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3494, allocations: 8 kB / 435.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3495, allocations: 34.55 kB / 435.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3495, allocations: 0 / 435.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002549/0.3497, allocations: 57.62 kB / 436 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.3499, allocations: 77.11 kB / 436 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.35, allocations: 142.3 kB / 436.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.35, allocations: 29.7 kB / 436.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.3501, allocations: 84.14 kB / 436.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.3501, allocations: 0 / 436.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3502, allocations: 17.72 kB / 436.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3503, allocations: 318.8 kB / 436.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.3503, allocations: 7.938 kB / 436.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.3504, allocations: 21.72 kB / 436.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3505, allocations: 25.7 kB / 436.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3505, allocations: 3.938 kB / 436.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.3507, allocations: 65.5 kB / 436.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3507, allocations: 4 kB / 436.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3507, allocations: 0 / 436.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3507, allocations: 4.125 kB / 436.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.3508, allocations: 7.984 kB / 436.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.3508, allocations: 4 kB / 436.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.3508, allocations: 0 / 436.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3508, allocations: 0 / 436.8 MB, free: 3.098 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 9.779e-05/0.3509, allocations: 125.8 kB / 436.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.351, allocations: 37.59 kB / 436.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.351, allocations: 19.75 kB / 436.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.351, allocations: 7.969 kB / 437 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.351, allocations: 0 / 437 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.351, allocations: 0 / 437 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3512, allocations: 140.7 kB / 437.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3512, allocations: 0 / 437.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3512, allocations: 7.984 kB / 437.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3512, allocations: 0 / 437.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.3512, allocations: 0 / 437.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.3512, allocations: 8 kB / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3512, allocations: 0 / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.3514, allocations: 156.3 kB / 437.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.3515, allocations: 15.94 kB / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3515, allocations: 4 kB / 437.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.3515, allocations: 0 / 437.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.3516, allocations: 3.984 kB / 437.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3516, allocations: 4 kB / 437.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.3516, allocations: 110.2 kB / 437.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3516, allocations: 0 / 437.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.3519, allocations: 4 kB / 437.4 MB, free: 2.391 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 9.794e-05/0.352, allocations: 95.25 kB / 437.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3521, allocations: 19.98 kB / 437.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3521, allocations: 0 / 437.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.3521, allocations: 16.05 kB / 437.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3524, allocations: 18.47 kB / 437.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.3528, allocations: 168.2 kB / 437.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3531, allocations: 0.6885 MB / 438.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3532, allocations: 11.38 kB / 438.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3532, allocations: 0 / 438.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Templates: time 0.002332/0.3555, allocations: 0.6437 MB / 439.1 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.337804350070655]