Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008226/0.0008226, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003431/0.003431, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8555/0.8555, allocations: 177 MB / 204.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.558e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001814/0.00184, allocations: 1.517 MB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000288/0.002128, allocations: 139.5 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.002197, allocations: 4 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.002236, allocations: 3.938 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.002351, allocations: 11.88 kB / 327.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.002545, allocations: 31.84 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.00263, allocations: 31.91 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.002723, allocations: 11.98 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.002762, allocations: 15.92 kB / 327.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.002796, allocations: 4 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.002817, allocations: 4 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002825, allocations: 0 / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.002873, allocations: 15.92 kB / 327.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.002892, allocations: 11.94 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.002984, allocations: 43.81 kB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002986, allocations: 3.938 kB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002987, allocations: 0 / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.002991, allocations: 0 / 327.6 MB, free: 13.52 MB / 298.7 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.0003294/0.003321, allocations: 286.1 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.003353, allocations: 11.98 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.003384, allocations: 8.891 kB / 327.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.00358, allocations: 132.8 kB / 328 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003591, allocations: 8.375 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.0036, allocations: 384 / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.003829, allocations: 97.61 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003838, allocations: 192 / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.003846, allocations: 384 / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003851, allocations: 384 / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.003896, allocations: 23.84 kB / 328.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.004152, allocations: 205.4 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.00425, allocations: 49.16 kB / 328.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.004278, allocations: 17.77 kB / 328.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.004298, allocations: 8 kB / 328.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.004317, allocations: 30.56 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.004318, allocations: 0 / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001682/0.004486, allocations: 65.55 kB / 328.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.004535, allocations: 81.36 kB / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.004627, allocations: 134.1 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.004638, allocations: 25.7 kB / 328.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.004677, allocations: 99.97 kB / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/0.004685, allocations: 0 / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.004713, allocations: 17.7 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.004795, allocations: 314.8 kB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.004816, allocations: 4 kB / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.00483, allocations: 7.984 kB / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.00487, allocations: 24.84 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004873, allocations: 0 / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001344/0.005007, allocations: 49.64 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.005017, allocations: 4 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.005023, allocations: 3.938 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005034, allocations: 4 kB / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.005077, allocations: 0 / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.00508, allocations: 0 / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.005093, allocations: 4 kB / 329.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005099, allocations: 4.016 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.198e-05/0.005151, allocations: 117.8 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.005181, allocations: 37.64 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.005206, allocations: 23.69 kB / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005208, allocations: 0 / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005211, allocations: 0 / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005214, allocations: 0 / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.005296, allocations: 113.3 kB / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005297, allocations: 0 / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.005314, allocations: 4 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005315, allocations: 8.031 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.00532, allocations: 0 / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.005323, allocations: 7.922 kB / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005323, allocations: 0 / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.861e-05/0.005402, allocations: 152.3 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.005426, allocations: 19.88 kB / 329.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.005436, allocations: 4 kB / 329.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.005464, allocations: 7.938 kB / 329.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.005487, allocations: 0 / 329.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005491, allocations: 11.97 kB / 329.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.005532, allocations: 103.2 kB / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.005532, allocations: 0 / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.005666, allocations: 4 kB / 329.9 MB, free: 10.96 MB / 298.7 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 6.917e-05/0.005736, allocations: 97.78 kB / 330 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.00581, allocations: 19.98 kB / 330 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005811, allocations: 0 / 330 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.005827, allocations: 7.938 kB / 330 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.006035, allocations: 24.08 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.006259, allocations: 175.2 kB / 330.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.006307, allocations: 67.59 kB / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.006329, allocations: 12.5 kB / 330.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.00633, allocations: 0 / 330.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Templates: time 0.001477/0.007806, allocations: 0.6391 MB / 330.9 MB, free: 9.871 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 3.9435463743284345]