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.001392/0.001392, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001589/0.001589, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.619/1.619, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001961/0.001961, allocations: 71.81 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003171/0.3319, allocations: 1.538 MB / 433.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.3323, allocations: 139.5 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.3324, allocations: 0 / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.3324, allocations: 3.938 kB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3325, allocations: 11.92 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3328, allocations: 35.16 kB / 433.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3329, allocations: 39.84 kB / 433.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.333, allocations: 15.98 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.3331, allocations: 11.94 kB / 433.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.3331, allocations: 15.92 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3331, allocations: 0 / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3332, allocations: 4 kB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.3332, allocations: 11.94 kB / 433.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3333, allocations: 27.8 kB / 433.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3334, allocations: 57.59 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3334, allocations: 0 / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3334, allocations: 0 / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3334, allocations: 0 / 433.9 MB, free: 5.5 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.0005706/0.334, allocations: 367.2 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.334, allocations: 8.031 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3341, allocations: 12.89 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3344, allocations: 200.2 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3344, allocations: 384 / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3344, allocations: 4.375 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3347, allocations: 125.5 kB / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3347, allocations: 4.172 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3347, allocations: 3.938 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3347, allocations: 4 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.3348, allocations: 15.98 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3352, allocations: 265.8 kB / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3354, allocations: 134.2 kB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.3355, allocations: 33.77 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3355, allocations: 0 / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3356, allocations: 38.5 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3356, allocations: 0 / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.3358, allocations: 77.56 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.3359, allocations: 77.11 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3361, allocations: 141.2 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3361, allocations: 25.7 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3362, allocations: 88.27 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.3362, allocations: 11.89 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3362, allocations: 17.72 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3364, allocations: 318.8 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.3364, allocations: 8 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.3365, allocations: 31.42 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.3365, allocations: 51.36 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3365, allocations: 0 / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.3367, allocations: 61.69 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3367, allocations: 15.98 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3367, allocations: 0 / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3367, allocations: 7.875 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.3368, allocations: 8 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3368, allocations: 0 / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.3368, allocations: 7.953 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3368, allocations: 0 / 436.1 MB, free: 3.078 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.0001131/0.3369, allocations: 125.8 kB / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.337, allocations: 49.69 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.3371, allocations: 8.25 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3371, allocations: 11.88 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3371, allocations: 0 / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3371, allocations: 0 / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3373, allocations: 173.5 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3373, allocations: 4 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.3373, allocations: 4 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3373, allocations: 7.984 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3373, allocations: 336 / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3373, allocations: 4 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3373, allocations: 4 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.3376, allocations: 172.3 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.3376, allocations: 85.11 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3376, allocations: 3.984 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.3377, allocations: 7.938 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3377, allocations: 4 kB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3377, allocations: 0 / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.3378, allocations: 107.2 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3378, allocations: 0 / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.338, allocations: 4 kB / 436.8 MB, free: 2.211 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.0001201/0.3382, allocations: 99.25 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3383, allocations: 32.11 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3383, allocations: 4.062 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.3384, allocations: 7.984 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3387, allocations: 19.97 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.339, allocations: 158.3 kB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3394, allocations: 0.6924 MB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.3394, allocations: 4.062 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3395, allocations: 11.44 kB / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3395, allocations: 0 / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.003196/0.3427, allocations: 0.5031 MB / 438.3 MB, free: 0.6211 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.01728229271248]