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.001415/0.001415, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001607/0.001607, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.581/1.581, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.001977/0.001977, allocations: 67.83 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.134, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003225/0.1373, allocations: 1.514 MB / 429.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.1377, allocations: 143.5 kB / 429.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.1378, allocations: 3.938 kB / 429.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.643e-05/0.1379, allocations: 3.938 kB / 429.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.138, allocations: 11.92 kB / 429.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1383, allocations: 31.91 kB / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1384, allocations: 31.86 kB / 429.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1385, allocations: 11.98 kB / 429.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.1385, allocations: 7.938 kB / 429.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.1386, allocations: 15.92 kB / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1386, allocations: 0 / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.1386, allocations: 4 kB / 429.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1387, allocations: 19.92 kB / 429.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1387, allocations: 15.88 kB / 429.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1389, allocations: 43.7 kB / 429.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1389, allocations: 0 / 429.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1389, allocations: 0 / 429.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1389, allocations: 0 / 429.9 MB, free: 2.508 MB / 350.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.0005426/0.1395, allocations: 363.2 kB / 430.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1395, allocations: 8.031 kB / 430.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1395, allocations: 8.891 kB / 430.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1398, allocations: 200.2 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1398, allocations: 384 / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1398, allocations: 384 / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1401, allocations: 93.61 kB / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1401, allocations: 192 / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1401, allocations: 7.938 kB / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.1401, allocations: 0 / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.1402, allocations: 15.98 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1406, allocations: 257.7 kB / 430.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1407, allocations: 49.2 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.1407, allocations: 21.66 kB / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1408, allocations: 0 / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1408, allocations: 30.56 kB / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1408, allocations: 0 / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002746/0.1411, allocations: 65.83 kB / 431 MB, free: 1.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.1412, allocations: 85.11 kB / 431.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1413, allocations: 136.9 kB / 431.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1413, allocations: 25.7 kB / 431.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.1414, allocations: 92.06 kB / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.1414, allocations: 0 / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1415, allocations: 17.72 kB / 431.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1417, allocations: 314.9 kB / 431.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.1417, allocations: 11.98 kB / 431.7 MB, free: 500 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.1418, allocations: 17.72 kB / 431.7 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.1418, allocations: 33.64 kB / 431.7 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1418, allocations: 0 / 431.7 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.142, allocations: 61.58 kB / 431.8 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.142, allocations: 7.938 kB / 431.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.142, allocations: 3.984 kB / 431.8 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.142, allocations: 4 kB / 431.8 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.1421, allocations: 4 kB / 431.8 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1421, allocations: 0 / 431.8 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.1421, allocations: 4 kB / 431.8 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1421, allocations: 7.984 kB / 431.8 MB, free: 336 kB / 350.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 0.0001187/0.1422, allocations: 125.8 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.1423, allocations: 41.66 kB / 432 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1423, allocations: 3.875 kB / 432 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1423, allocations: 0 / 432 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1423, allocations: 4 kB / 432 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1424, allocations: 3.984 kB / 432 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3007/0.4431, allocations: 164.8 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4431, allocations: 0 / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.4432, allocations: 6.375 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4432, allocations: 0.9688 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4432, allocations: 2.875 kB / 432.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4432, allocations: 0 / 432.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4432, allocations: 1.375 kB / 432.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.4434, allocations: 160.9 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.4435, allocations: 88.62 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4435, allocations: 1.062 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.4436, allocations: 2.906 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.4436, allocations: 3.703 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4436, allocations: 5.078 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.4437, allocations: 104.3 kB / 432.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4437, allocations: 2.406 kB / 432.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.444, allocations: 2.938 kB / 432.5 MB, free: 10.76 MB / 350.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.0001196/0.4441, allocations: 98.58 kB / 432.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.4443, allocations: 24.02 kB / 432.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4443, allocations: 0 / 432.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.4443, allocations: 5.609 kB / 432.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4447, allocations: 20.83 kB / 432.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.445, allocations: 166 kB / 432.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4452, allocations: 0.6858 MB / 433.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.4452, allocations: 10.12 kB / 433.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4452, allocations: 4.031 kB / 433.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Templates: time 0.002496/0.4477, allocations: 0.6374 MB / 434.2 MB, free: 9.801 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.217559187905863]