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.00216/0.00216, 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.002544/0.002544, 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 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.616/1.616, allocations: 230.6 MB / 258.2 MB, free: 8.039 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.002257/0.002257, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3168, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003358/0.3202, allocations: 1.543 MB / 433.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004935/0.3207, allocations: 135.5 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.3208, allocations: 0 / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.712e-05/0.3208, allocations: 7.922 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.321, allocations: 11.92 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3212, allocations: 27.92 kB / 434.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3213, allocations: 35.91 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3214, allocations: 11.98 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.3215, allocations: 11.94 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.3215, allocations: 15.86 kB / 434.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3215, allocations: 0 / 434.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.3216, allocations: 4 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3216, allocations: 8 kB / 434.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3216, allocations: 19.81 kB / 434.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.3218, allocations: 45.44 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3218, allocations: 4 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3218, allocations: 3.938 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3218, allocations: 4 kB / 434.3 MB, free: 5.078 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.0004676/0.3223, allocations: 282.1 kB / 434.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3223, allocations: 12.03 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.3223, allocations: 4.891 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3226, allocations: 133.1 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3226, allocations: 384 / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3226, allocations: 4.375 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3228, allocations: 97.61 kB / 434.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3229, allocations: 4.125 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3229, allocations: 7.922 kB / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3229, allocations: 0 / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3229, allocations: 15.94 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.3233, allocations: 232.8 kB / 435 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.3234, allocations: 45.09 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3234, allocations: 25.7 kB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3235, allocations: 3.984 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3235, allocations: 38.56 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3235, allocations: 0 / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002379/0.3237, allocations: 65.59 kB / 435.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3238, allocations: 77.11 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3239, allocations: 138.3 kB / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.324, allocations: 29.7 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.3241, allocations: 84.14 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-06/0.3241, allocations: 0 / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3241, allocations: 17.72 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3243, allocations: 318.8 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.3243, allocations: 4 kB / 435.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.3243, allocations: 25.7 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.3244, allocations: 33.7 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3244, allocations: 0 / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.3245, allocations: 57.52 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3246, allocations: 8 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3246, allocations: 0 / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3246, allocations: 64 / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.3246, allocations: 8 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3246, allocations: 3.984 kB / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.3247, allocations: 4 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3247, allocations: 0 / 436 MB, free: 3.102 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.604e-05/0.3248, allocations: 117.8 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3248, allocations: 41.64 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.3249, allocations: 15.77 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3249, allocations: 0 / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3249, allocations: 7.969 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3249, allocations: 0 / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3251, allocations: 148.6 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3251, allocations: 0 / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.3251, allocations: 4 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3251, allocations: 0 / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3251, allocations: 0 / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3251, allocations: 0 / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3251, allocations: 4 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3253, allocations: 156.3 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.3253, allocations: 11.95 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3254, allocations: 0 / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.3254, allocations: 7.984 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3255, allocations: 0 / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3255, allocations: 7.938 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.902e-05/0.3256, allocations: 113.8 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3256, allocations: 0 / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3258, allocations: 4 kB / 436.6 MB, free: 2.398 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.0001059/0.3259, allocations: 99.23 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.326, allocations: 19.98 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.326, allocations: 0 / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.326, allocations: 4 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3264, allocations: 28.08 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.3267, allocations: 138.5 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3271, allocations: 0.6885 MB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.3271, allocations: 0 / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.3271, allocations: 7.438 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3271, allocations: 0 / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Templates: time 0.003135/0.3303, allocations: 460.9 kB / 438.1 MB, free: 0.9141 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/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-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: 4.837664048187435]