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.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.001809/0.001809, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.003103/0.003103, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.706/1.706, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [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.00271/0.00271, allocations: 68.77 kB / 379 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3255, allocations: 53.38 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003546/0.3291, allocations: 1.542 MB / 433.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3295, allocations: 139.5 kB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3296, allocations: 3.938 kB / 434.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.3297, allocations: 3.938 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.3299, allocations: 7.938 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.3302, allocations: 35.91 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3303, allocations: 35.91 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3304, allocations: 8 kB / 434.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.3304, allocations: 19.92 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.3305, allocations: 19.86 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3305, allocations: 4 kB / 434.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.3305, allocations: 0 / 434.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.3306, allocations: 11.94 kB / 434.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.3307, allocations: 19.88 kB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3308, allocations: 55.33 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.3308, allocations: 4 kB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3308, allocations: 0 / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3308, allocations: 0 / 434.3 MB, free: 5.066 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.0006782/0.3315, allocations: 296.1 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3316, allocations: 8.031 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.3316, allocations: 8.891 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.3319, allocations: 142.3 kB / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.3319, allocations: 384 / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3319, allocations: 8.375 kB / 434.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.3323, allocations: 121.5 kB / 434.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3323, allocations: 192 / 434.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3323, allocations: 3.938 kB / 434.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3324, allocations: 4 kB / 434.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.3324, allocations: 15.98 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3329, allocations: 232.8 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3331, allocations: 61.14 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.3331, allocations: 33.77 kB / 435.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3332, allocations: 7.938 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3332, allocations: 30.56 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3332, allocations: 3.938 kB / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002853/0.3335, allocations: 77.56 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.3336, allocations: 85.09 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3338, allocations: 138 kB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3338, allocations: 29.83 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.3339, allocations: 84.14 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3339, allocations: 7.953 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3339, allocations: 21.7 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3341, allocations: 310.8 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.3342, allocations: 12 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.3342, allocations: 31.42 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.3343, allocations: 47.36 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3343, allocations: 0 / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.3344, allocations: 77.48 kB / 436.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3345, allocations: 8 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3345, allocations: 0 / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3345, allocations: 0 / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3345, allocations: 8.281 kB / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3346, allocations: 0 / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.3346, allocations: 11.94 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3346, allocations: 0 / 436.2 MB, free: 2.934 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 0.0001088/0.3347, allocations: 125.9 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.3348, allocations: 53.61 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.3348, allocations: 12.28 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3348, allocations: 4 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3348, allocations: 0 / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3348, allocations: 0 / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.335, allocations: 148.6 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.335, allocations: 0 / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.3351, allocations: 7.984 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3351, allocations: 4 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3351, allocations: 0 / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3351, allocations: 4 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3351, allocations: 0 / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.3353, allocations: 172.2 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3353, allocations: 11.95 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3353, allocations: 7.984 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.3354, allocations: 0 / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3354, allocations: 4 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3354, allocations: 8 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.3355, allocations: 106.1 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3355, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.3357, allocations: 8 kB / 436.9 MB, free: 2.188 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 0.0001072/0.3359, allocations: 91.25 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.336, allocations: 36.05 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.336, allocations: 0 / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.336, allocations: 11.98 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3364, allocations: 19.97 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.3367, allocations: 158.3 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3371, allocations: 0.6885 MB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.3371, allocations: 4.188 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3372, allocations: 11.44 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3372, allocations: 0 / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of Templates: time 0.003559/0.3407, allocations: 0.5173 MB / 438.4 MB, free: 0.5977 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.056023456156254]