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.001241/0.001241, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001519/0.001519, allocations: 156.5 kB / 24.56 MB, free: 12 kB / 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.9526/0.9526, allocations: 177 MB / 204.8 MB, free: 5.578 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.373e-06/1.373e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.578e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00193/0.001946, allocations: 1.564 MB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002875/0.002234, allocations: 139.5 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.002298, allocations: 3.938 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.002335, allocations: 7.922 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.002427, allocations: 8 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.002584, allocations: 31.84 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.002654, allocations: 35.8 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.002724, allocations: 11.97 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.002766, allocations: 8 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.002799, allocations: 15.92 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.002815, allocations: 8 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-06/0.00282, allocations: 0 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.002853, allocations: 7.938 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.002872, allocations: 11.98 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.178e-05/0.002943, allocations: 27.84 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002946, allocations: 4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002947, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.00295, allocations: 0 / 274.8 MB, free: 15.55 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.0003356/0.003285, allocations: 384.4 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.003324, allocations: 11.98 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.003361, allocations: 16.89 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.003644, allocations: 143.1 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.003651, allocations: 4.312 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003661, allocations: 4.375 kB / 275.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.003881, allocations: 101.7 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00389, allocations: 4.125 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.003899, allocations: 384 / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.003906, allocations: 384 / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.003929, allocations: 11.94 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.004205, allocations: 267.5 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/0.00427, allocations: 54.06 kB / 275.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.004295, allocations: 19.5 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.00431, allocations: 0 / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.004338, allocations: 41.38 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.004339, allocations: 0 / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.004475, allocations: 45.58 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.004521, allocations: 89.3 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.004619, allocations: 189.9 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.004628, allocations: 25.7 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.004692, allocations: 142.8 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.004699, allocations: 0 / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.004725, allocations: 19.38 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.004833, allocations: 496.1 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.004841, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.004847, allocations: 4 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.659e-05/0.004864, allocations: 7.688 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004866, allocations: 4.062 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.044e-05/0.004906, allocations: 45.58 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.004918, allocations: 7.125 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.004923, allocations: 3.938 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004933, allocations: 0 / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.004982, allocations: 4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004986, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.004999, allocations: 4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.005003, allocations: 0 / 276.9 MB, free: 13.2 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.272e-05/0.005065, allocations: 160.6 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.005098, allocations: 45.58 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.005125, allocations: 11.75 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005127, allocations: 0 / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.005132, allocations: 4 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.005136, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.005238, allocations: 120.6 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00524, allocations: 4 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.005261, allocations: 11.92 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005263, allocations: 0 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.005268, allocations: 0 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.00527, allocations: 11.97 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005271, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.738e-05/0.005369, allocations: 195.6 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.005394, allocations: 15.89 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.005406, allocations: 4 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.005437, allocations: 3.938 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.00546, allocations: 3.984 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.005463, allocations: 4 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.005508, allocations: 138.1 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005508, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.005645, allocations: 11.97 kB / 277.6 MB, free: 12.39 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 5.833e-05/0.005704, allocations: 99.23 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.00576, allocations: 15.69 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005762, allocations: 0 / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.005772, allocations: 11.69 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.005976, allocations: 21.09 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.006197, allocations: 153.6 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.006233, allocations: 59.34 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.006247, allocations: 4 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.006268, allocations: 8.5 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006269, allocations: 0 / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Templates: time 0.002137/0.008406, allocations: 0.5039 MB / 278.5 MB, free: 11.46 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.8364045727066696]