Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001271/0.001271, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002424/0.003695, 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.001377/0.001377, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001953/0.00333, 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 1.084/1.084, allocations: 177.5 MB / 190 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.18, allocations: 53.86 MB / 243.9 MB, free: 14.89 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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.573e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00468/0.004716, allocations: 1.693 MB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.006145, allocations: 0.5646 MB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.006274, allocations: 3.938 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.784e-05/0.006342, allocations: 7.938 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.006486, allocations: 7.922 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.007045, allocations: 67.67 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.00723, allocations: 47.8 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.00736, allocations: 24.09 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.007609, allocations: 47.84 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.007692, allocations: 4 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.007718, allocations: 8 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.007808, allocations: 15.97 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.007867, allocations: 11.94 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.007899, allocations: 11.94 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.008103, allocations: 39.8 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/0.00812, allocations: 0 / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.008123, allocations: 0 / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.008137, allocations: 0 / 247.8 MB, free: 11.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000585/0.008722, allocations: 296.2 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.008768, allocations: 8.031 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.009034, allocations: 98.03 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.009312, allocations: 154.1 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.009324, allocations: 384 / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.009341, allocations: 4.375 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.009625, allocations: 122.9 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.009635, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.009647, allocations: 4 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.009656, allocations: 4 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.009692, allocations: 11.94 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.009989, allocations: 154.1 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.01009, allocations: 55.73 kB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.01013, allocations: 26.62 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.01015, allocations: 4 kB / 248.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.01019, allocations: 46.44 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.01019, allocations: 4 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000211/0.0104, allocations: 49.62 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.0105, allocations: 106.8 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01066, allocations: 150 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.01068, allocations: 25.7 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.01074, allocations: 88.12 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.01076, allocations: 3.953 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.01081, allocations: 17.7 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01096, allocations: 311.2 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.01097, allocations: 4 kB / 249.5 MB, free: 9.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.01098, allocations: 4 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.01102, allocations: 12.84 kB / 249.5 MB, free: 9.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01102, allocations: 4 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.554e-05/0.01109, allocations: 41.56 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01111, allocations: 4 kB / 249.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01112, allocations: 0 / 249.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01114, allocations: 4 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01125, allocations: 3.984 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01125, allocations: 4.094 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.01129, allocations: 4 kB / 249.6 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.0113, allocations: 0 / 249.6 MB, free: 8.996 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: 0 () * 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 9.725e-05/0.01139, allocations: 108.7 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.01148, allocations: 49.56 kB / 249.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.01152, allocations: 11.97 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01152, allocations: 0 / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01153, allocations: 3.984 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01154, allocations: 3.984 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.01172, allocations: 77.95 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01172, allocations: 0 / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.01178, allocations: 11.98 kB / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.01183, allocations: 23.83 kB / 249.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01183, allocations: 4 kB / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.01184, allocations: 0 / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01184, allocations: 3.938 kB / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.01185, allocations: 4 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.01199, allocations: 141.2 kB / 250 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01202, allocations: 3.938 kB / 250 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01212, allocations: 8.031 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.01215, allocations: 0 / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.01216, allocations: 8 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.01221, allocations: 32.81 kB / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 0 / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.01253, allocations: 11.94 kB / 250 MB, free: 8.438 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001309/0.01266, allocations: 72.42 kB / 250.1 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.01275, allocations: 16.8 kB / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01276, allocations: 4.094 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.01279, allocations: 16.84 kB / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.01322, allocations: 109.9 kB / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01436, allocations: 183.8 kB / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.01441, allocations: 59.34 kB / 250.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.64e-05/0.01445, allocations: 16.25 kB / 250.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.01453, allocations: 55.38 kB / 250.6 MB, free: 7.824 MB / 250.7 MB Notification: Performance of SimCode: time 1.482e-06/0.01453, allocations: 0 / 250.6 MB, free: 7.824 MB / 250.7 MB Notification: Performance of Templates: time 0.003577/0.0181, allocations: 0.6869 MB / 251.3 MB, free: 7.148 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.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.4657909208908677]