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.001374/0.001374, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001608/0.001608, allocations: 165.1 kB / 24.91 MB, free: 9.188 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.9535/0.9535, allocations: 177 MB / 205.2 MB, free: 5.461 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.683e-06/1.683e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.104e-05, allocations: 6.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003068/0.003099, allocations: 1.56 MB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004108/0.003509, allocations: 139.4 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.003596, allocations: 7.938 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.003649, allocations: 3.938 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.00378, allocations: 7.984 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.004006, allocations: 35.84 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.004117, allocations: 35.8 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.004216, allocations: 8 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.004275, allocations: 15.97 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.004318, allocations: 11.92 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.004342, allocations: 4 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.004351, allocations: 0 / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.004397, allocations: 11.94 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.004417, allocations: 4 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.004526, allocations: 39.83 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.00453, allocations: 0 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004532, allocations: 0 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004535, allocations: 0 / 275.3 MB, free: 15.35 MB / 266.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.0003335/0.004869, allocations: 260.8 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.004907, allocations: 11.98 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.004939, allocations: 4.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005106, allocations: 141.6 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.005115, allocations: 4.312 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.005126, allocations: 8.375 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.005301, allocations: 86.38 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005313, allocations: 4.125 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.005321, allocations: 4.375 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.00533, allocations: 384 / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.005347, allocations: 7.938 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.005557, allocations: 149.2 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.005611, allocations: 37.16 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.00563, allocations: 21.7 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.005645, allocations: 0 / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.005672, allocations: 38.61 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.005673, allocations: 0 / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001289/0.005802, allocations: 37.64 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.005859, allocations: 88.98 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.005949, allocations: 133.6 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.00596, allocations: 25.7 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.006, allocations: 88.12 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-06/0.00601, allocations: 4.25 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.006048, allocations: 17.67 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.00616, allocations: 314.8 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.006171, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.00618, allocations: 4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.006204, allocations: 4.859 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006206, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.026e-05/0.006267, allocations: 41.62 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.006285, allocations: 4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.006292, allocations: 96 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006304, allocations: 4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.006367, allocations: 11.94 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.006369, allocations: 3.938 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.006385, allocations: 0 / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.00639, allocations: 3.984 kB / 276.8 MB, free: 13.62 MB / 266.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 6.939e-05/0.006459, allocations: 116.7 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.006509, allocations: 29.7 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.006537, allocations: 11.8 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.00654, allocations: 0 / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.006542, allocations: 7.969 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006546, allocations: 0 / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.006663, allocations: 69.89 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006665, allocations: 0 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.006704, allocations: 11.92 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006706, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006712, allocations: 4 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006714, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006716, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.00682, allocations: 140.3 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.006851, allocations: 11.97 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006862, allocations: 4 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.006917, allocations: 0 / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.006942, allocations: 3.984 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.006947, allocations: 4 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.006981, allocations: 28.77 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006981, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.00719, allocations: 7.953 kB / 277.2 MB, free: 13.12 MB / 266.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 0.0001058/0.007296, allocations: 84.34 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.506e-05/0.007361, allocations: 16.86 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.007365, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.007378, allocations: 8.859 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.007615, allocations: 19.58 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.007895, allocations: 139.8 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.007939, allocations: 59.34 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.007956, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.00801, allocations: 51.38 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.008012, allocations: 4.219 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Templates: time 0.002579/0.01059, allocations: 0.5063 MB / 278.1 MB, free: 12.18 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.627238624263555]