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.007943/0.007943, allocations: 105.4 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.002034/0.002034, allocations: 214.3 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.626/1.626, allocations: 230.6 MB / 259 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.002021/0.002021, allocations: 63.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00408/0.3489, allocations: 1.539 MB / 434.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005491/0.3495, allocations: 139.5 kB / 434.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.3496, allocations: 3.938 kB / 434.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.3497, allocations: 7.938 kB / 434.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3499, allocations: 7.922 kB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.3502, allocations: 39.91 kB / 434.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3503, allocations: 27.92 kB / 434.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3505, allocations: 19.92 kB / 434.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3505, allocations: 11.94 kB / 435 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.3506, allocations: 15.92 kB / 435 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3506, allocations: 4 kB / 435 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.3506, allocations: 0 / 435 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.3507, allocations: 15.92 kB / 435 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.3508, allocations: 23.86 kB / 435 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.351, allocations: 44.97 kB / 435.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.351, allocations: 4 kB / 435.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.351, allocations: 0 / 435.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.351, allocations: 0 / 435.1 MB, free: 5.051 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.0006454/0.3516, allocations: 298.1 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3517, allocations: 8.031 kB / 435.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3517, allocations: 8.891 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3521, allocations: 142.3 kB / 435.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3521, allocations: 8.312 kB / 435.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3521, allocations: 4.375 kB / 435.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.3525, allocations: 117.6 kB / 435.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3525, allocations: 4.125 kB / 435.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3525, allocations: 3.938 kB / 435.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3525, allocations: 4 kB / 435.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.3526, allocations: 15.98 kB / 435.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.353, allocations: 232.9 kB / 435.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3532, allocations: 61.08 kB / 436 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.3533, allocations: 25.78 kB / 436 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3533, allocations: 11.92 kB / 436 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3534, allocations: 30.56 kB / 436 MB, free: 3.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/0.3534, allocations: 7.922 kB / 436 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.3537, allocations: 73.62 kB / 436.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.3537, allocations: 85.05 kB / 436.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3539, allocations: 141.3 kB / 436.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3539, allocations: 29.7 kB / 436.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.354, allocations: 88.12 kB / 436.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.354, allocations: 7.953 kB / 436.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3541, allocations: 17.72 kB / 436.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3542, allocations: 310.8 kB / 436.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.3542, allocations: 15.98 kB / 436.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.3543, allocations: 31.42 kB / 436.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.3544, allocations: 47.36 kB / 436.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3544, allocations: 0 / 436.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.3545, allocations: 69.56 kB / 436.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.3546, allocations: 8 kB / 436.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3546, allocations: 0 / 436.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.3546, allocations: 4 kB / 436.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3547, allocations: 15.92 kB / 437 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3547, allocations: 0 / 437 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.3548, allocations: 7.953 kB / 437 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3548, allocations: 4 kB / 437 MB, free: 2.906 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.0001377/0.3549, allocations: 125.9 kB / 437.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.355, allocations: 41.7 kB / 437.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.355, allocations: 12.33 kB / 437.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.355, allocations: 7.938 kB / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3551, allocations: 0 / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3551, allocations: 0 / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.3553, allocations: 148.6 kB / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3553, allocations: 0 / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.3553, allocations: 7.938 kB / 437.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3553, allocations: 4 kB / 437.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3553, allocations: 4 kB / 437.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3553, allocations: 3.938 kB / 437.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3553, allocations: 0 / 437.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3556, allocations: 164.3 kB / 437.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3556, allocations: 15.94 kB / 437.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3556, allocations: 4 kB / 437.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.3557, allocations: 4 kB / 437.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3557, allocations: 3.984 kB / 437.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3557, allocations: 4 kB / 437.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3559, allocations: 103.2 kB / 437.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 437.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3561, allocations: 8 kB / 437.6 MB, free: 2.172 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.0001254/0.3562, allocations: 91.25 kB / 437.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3564, allocations: 43.91 kB / 437.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.3564, allocations: 0 / 437.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.3564, allocations: 4 kB / 437.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3568, allocations: 24.47 kB / 437.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.3572, allocations: 183.7 kB / 438 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3576, allocations: 0.6888 MB / 438.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.3576, allocations: 19.44 kB / 438.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3576, allocations: 0 / 438.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Templates: time 0.003008/0.3606, allocations: 0.691 MB / 439.4 MB, free: 376 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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: 7.170367960818112]