Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001583/0.001583, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001742/0.001742, allocations: 222.6 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4377, allocations: 53.32 MB / 429.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004223/0.4419, allocations: 1.547 MB / 431.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.4426, allocations: 139.5 kB / 431.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4427, allocations: 4 kB / 431.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.131e-05/0.4428, allocations: 3.938 kB / 431.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.443, allocations: 7.922 kB / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.4434, allocations: 39.84 kB / 431.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.4436, allocations: 35.92 kB / 431.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.4437, allocations: 11.98 kB / 431.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.4438, allocations: 7.938 kB / 431.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.4439, allocations: 19.86 kB / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.4439, allocations: 4 kB / 431.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.4439, allocations: 4 kB / 431.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.444, allocations: 19.91 kB / 431.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.4441, allocations: 19.88 kB / 431.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.4443, allocations: 47.42 kB / 431.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.4443, allocations: 0 / 431.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4443, allocations: 4 kB / 431.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4443, allocations: 0 / 431.7 MB, free: 5.672 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.0008042/0.4451, allocations: 364.8 kB / 432 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.4452, allocations: 12.02 kB / 432.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.4452, allocations: 8.891 kB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.4456, allocations: 196.1 kB / 432.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4456, allocations: 4.375 kB / 432.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4456, allocations: 4.375 kB / 432.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.446, allocations: 117.6 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.446, allocations: 192 / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4461, allocations: 3.938 kB / 432.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4461, allocations: 3.938 kB / 432.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.4462, allocations: 27.92 kB / 432.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.4466, allocations: 257.8 kB / 432.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.447, allocations: 138.2 kB / 432.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.447, allocations: 29.77 kB / 432.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.4471, allocations: 4 kB / 432.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4471, allocations: 34.56 kB / 432.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.4471, allocations: 3.938 kB / 432.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003338/0.4474, allocations: 85.53 kB / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4476, allocations: 81.23 kB / 433 MB, free: 4.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.4477, allocations: 141.3 kB / 433.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4478, allocations: 25.7 kB / 433.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.4479, allocations: 84.14 kB / 433.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.4479, allocations: 3.953 kB / 433.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.4479, allocations: 29.64 kB / 433.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4481, allocations: 310.8 kB / 433.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.4481, allocations: 11.98 kB / 433.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/0.4482, allocations: 31.44 kB / 433.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.665e-05/0.4483, allocations: 43.36 kB / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4483, allocations: 0 / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/0.4484, allocations: 81.5 kB / 433.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4485, allocations: 4 kB / 433.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4485, allocations: 8 kB / 433.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.4485, allocations: 0 / 433.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.4486, allocations: 11.98 kB / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4486, allocations: 0 / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.4486, allocations: 4 kB / 433.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4486, allocations: 8.062 kB / 433.8 MB, free: 3.242 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.0001339/0.4488, allocations: 121.8 kB / 433.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.4488, allocations: 45.64 kB / 434 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.4489, allocations: 12.25 kB / 434 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4489, allocations: 0 / 434 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4489, allocations: 4 kB / 434 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.4489, allocations: 3.984 kB / 434 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4491, allocations: 165.6 kB / 434.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4491, allocations: 3.984 kB / 434.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.4492, allocations: 12 kB / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4492, allocations: 0 / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4492, allocations: 4 kB / 434.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4492, allocations: 3.938 kB / 434.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4492, allocations: 0 / 434.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.4494, allocations: 168.2 kB / 434.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.4495, allocations: 97.03 kB / 434.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4495, allocations: 4 kB / 434.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.4496, allocations: 0 / 434.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.4497, allocations: 7.984 kB / 434.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4497, allocations: 0 / 434.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.4497, allocations: 103.3 kB / 434.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4497, allocations: 0 / 434.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.45, allocations: 7.953 kB / 434.6 MB, free: 2.379 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.0001623/0.4501, allocations: 99.25 kB / 434.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.4503, allocations: 35.91 kB / 434.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4503, allocations: 0 / 434.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.4503, allocations: 11.94 kB / 434.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4507, allocations: 19.95 kB / 434.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.4512, allocations: 163.1 kB / 434.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.4516, allocations: 0.6924 MB / 435.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.4517, allocations: 0 / 435.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.4517, allocations: 11.44 kB / 435.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4517, allocations: 0 / 435.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Templates: time 0.003662/0.4554, allocations: 0.5096 MB / 436.1 MB, free: 0.7852 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.937159100547433]