Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001533/0.001533, allocations: 89.92 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001478/0.001478, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.69e-05, allocations: 4.953 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002732/0.002759, allocations: 1.596 MB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003844, allocations: 0.5105 MB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.003927, allocations: 1.5 kB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.003977, allocations: 10.67 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.004122, allocations: 11.19 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.004466, allocations: 59.47 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.004598, allocations: 52.2 kB / 327.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.0047, allocations: 15.92 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004856, allocations: 41.89 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.004905, allocations: 7.672 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004923, allocations: 3.781 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.00497, allocations: 10.11 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.005023, allocations: 17.44 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.005052, allocations: 11.95 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.005222, allocations: 57.52 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.005226, allocations: 1.188 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005227, allocations: 4 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.005237, allocations: 0 / 327.4 MB, free: 14.91 MB / 302.1 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.0005561/0.005793, allocations: 311.5 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.005831, allocations: 14.3 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.005985, allocations: 17.34 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.006285, allocations: 147.4 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.006292, allocations: 2.5 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.006307, allocations: 2.5 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.00663, allocations: 125.8 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006642, allocations: 1.156 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006652, allocations: 0 / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.006658, allocations: 1.641 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.006755, allocations: 25.19 kB / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.007113, allocations: 217 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.00726, allocations: 78.61 kB / 328.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.007338, allocations: 34.88 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.007364, allocations: 2.484 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.007404, allocations: 39.03 kB / 328.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007405, allocations: 0 / 328.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003065/0.007711, allocations: 84.69 kB / 328.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.0078, allocations: 114.2 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.007972, allocations: 147.4 kB / 328.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.00799, allocations: 25.7 kB / 328.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.008055, allocations: 92.39 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.008067, allocations: 0.8906 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.008105, allocations: 14.08 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.008279, allocations: 321.8 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.008321, allocations: 5.641 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.008356, allocations: 11.5 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.008436, allocations: 25.67 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008438, allocations: 3.938 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001231/0.008561, allocations: 51.45 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.008577, allocations: 5.859 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.008583, allocations: 1.344 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.008598, allocations: 0 / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.008664, allocations: 3.844 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.008669, allocations: 2.391 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.008701, allocations: 1.719 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.008712, allocations: 8.672 kB / 329.3 MB, free: 13.13 MB / 302.1 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 0.0001101/0.008822, allocations: 121.6 kB / 329.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.008912, allocations: 53.47 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.008946, allocations: 12.2 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00895, allocations: 4.188 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008954, allocations: 0 / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008958, allocations: 0.6562 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.00916, allocations: 117.6 kB / 329.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.009161, allocations: 1.125 kB / 329.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.00923, allocations: 16.88 kB / 329.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.009233, allocations: 2.188 kB / 329.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009242, allocations: 1.891 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.009246, allocations: 1.781 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009247, allocations: 0 / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.00948, allocations: 179.6 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.009522, allocations: 17.61 kB / 329.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.009541, allocations: 6.531 kB / 329.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.009617, allocations: 10.81 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.009655, allocations: 5.938 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.009661, allocations: 3.266 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.009773, allocations: 109.3 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.009773, allocations: 3.938 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.01002, allocations: 9.5 kB / 330 MB, free: 12.55 MB / 302.1 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.000135/0.01015, allocations: 97.33 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01029, allocations: 22.34 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0103, allocations: 0 / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.01035, allocations: 16.31 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.01073, allocations: 31.41 kB / 330.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.01116, allocations: 182.7 kB / 330.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.01126, allocations: 78.84 kB / 330.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.01129, allocations: 3.297 kB / 330.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01133, allocations: 11.41 kB / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.01133, allocations: 4 kB / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Templates: time 0.003296/0.01462, allocations: 0.6195 MB / 331 MB, free: 12.1 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 4.292073626071215]