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.001212/0.001212, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001894/0.003107, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001374/0.001374, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.003025, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9938/0.9938, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0966/1.09, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.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 1.192e-06/1.192e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.063e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001983/0.002003, allocations: 1.63 MB / 246.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.002241, allocations: 156.1 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.002307, allocations: 3.938 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.002354, allocations: 7.922 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.002425, allocations: 7.938 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.002592, allocations: 39.83 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.002676, allocations: 27.94 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.002751, allocations: 19.91 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.002811, allocations: 23.98 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.002851, allocations: 11.92 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.002872, allocations: 4 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.002881, allocations: 0 / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.002927, allocations: 11.94 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.002947, allocations: 8 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003048, allocations: 39.77 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.003056, allocations: 0 / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.003057, allocations: 4 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.003066, allocations: 0 / 247.2 MB, free: 11.59 MB / 250.7 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.0003351/0.003401, allocations: 272.3 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.003429, allocations: 12.62 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.003464, allocations: 8.938 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.003612, allocations: 141.5 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.00362, allocations: 384 / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.00363, allocations: 8.375 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.003791, allocations: 110.3 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.003798, allocations: 4.188 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003804, allocations: 4.359 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00381, allocations: 384 / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.003827, allocations: 15.86 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.003986, allocations: 149.2 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.004093, allocations: 45.09 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.004111, allocations: 21.77 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.004125, allocations: 4 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004144, allocations: 34.56 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004145, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000105/0.00425, allocations: 53.8 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.00429, allocations: 81.05 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.004357, allocations: 138.6 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.004365, allocations: 25.7 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.004398, allocations: 84.08 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.004407, allocations: 3.953 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.004695, allocations: 21.83 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.004762, allocations: 318.8 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.00477, allocations: 0 / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.004776, allocations: 3.938 kB / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.004794, allocations: 12.86 kB / 248.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004796, allocations: 0 / 248.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.745e-05/0.004833, allocations: 33.69 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.004846, allocations: 8 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004851, allocations: 0 / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.004864, allocations: 4.094 kB / 248.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.004906, allocations: 3.938 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.004909, allocations: 4 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.00492, allocations: 0 / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.004924, allocations: 0 / 248.8 MB, free: 9.797 MB / 250.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.337e-05/0.004977, allocations: 124.6 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.005012, allocations: 37.69 kB / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.005037, allocations: 8.344 kB / 248.9 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.00504, allocations: 4 kB / 248.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.005042, allocations: 3.938 kB / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005045, allocations: 4 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/0.005122, allocations: 73.88 kB / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.005123, allocations: 0 / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.005154, allocations: 8 kB / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.00518, allocations: 15.88 kB / 249 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005183, allocations: 4 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.005187, allocations: 0 / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005188, allocations: 0 / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.00519, allocations: 3.938 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.005266, allocations: 140.3 kB / 249.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.005274, allocations: 8.031 kB / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.005302, allocations: 0 / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.005327, allocations: 0 / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.005332, allocations: 7.938 kB / 249.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.005354, allocations: 28.14 kB / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005354, allocations: 0 / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.00546, allocations: 4 kB / 249.2 MB, free: 9.273 MB / 250.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: 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 7.713e-05/0.005537, allocations: 84.41 kB / 249.3 MB, free: 9.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.465e-05/0.005592, allocations: 20.8 kB / 249.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.005595, allocations: 0 / 249.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.005608, allocations: 8.859 kB / 249.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.005805, allocations: 72.27 kB / 249.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.006179, allocations: 167 kB / 249.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.006213, allocations: 59.34 kB / 249.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.56e-05/0.006229, allocations: 4 kB / 249.6 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.006279, allocations: 55.38 kB / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006279, allocations: 0 / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of Templates: time 0.002145/0.008425, allocations: 0.5599 MB / 250.3 MB, free: 8.188 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3396450066938996]