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.00123/0.00123, allocations: 88.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.001924/0.001924, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 1.07/1.07, allocations: 177 MB / 205.2 MB, free: 5.059 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.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 2.164e-06/2.164e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.403e-05, allocations: 4.984 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002872/0.002906, allocations: 1.678 MB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.003833, allocations: 0.5412 MB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.003954, allocations: 7.938 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.004014, allocations: 7.922 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.00419, allocations: 7.938 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.004517, allocations: 63.69 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.0047, allocations: 47.78 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004823, allocations: 20.11 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005, allocations: 35.95 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.00506, allocations: 15.92 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005078, allocations: 0 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.005141, allocations: 12 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.005189, allocations: 15.88 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.00521, allocations: 15.91 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005383, allocations: 43.83 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.005395, allocations: 4 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005396, allocations: 0 / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.005403, allocations: 0 / 275.9 MB, free: 14.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004533/0.005857, allocations: 276.6 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.005909, allocations: 15.98 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.006068, allocations: 16.92 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.006289, allocations: 154.1 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.006299, allocations: 4.312 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.006311, allocations: 4.375 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.006529, allocations: 122.9 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006541, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.00655, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006561, allocations: 4 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.006584, allocations: 11.94 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.006836, allocations: 150.1 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.006916, allocations: 63.72 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.006945, allocations: 22.69 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.00697, allocations: 8 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.007003, allocations: 38.48 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.053e-06/0.007005, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.007179, allocations: 57.56 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.007249, allocations: 102.8 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.007351, allocations: 139.8 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.007365, allocations: 29.7 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.007409, allocations: 88.12 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.007433, allocations: 4.328 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.007467, allocations: 21.7 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.007587, allocations: 314.8 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.007598, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.007612, allocations: 7.938 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.007639, allocations: 4.859 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.007643, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.182e-05/0.007704, allocations: 41.62 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.00772, allocations: 4 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.007726, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.007743, allocations: 4.094 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.007821, allocations: 7.938 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007826, allocations: 3.984 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.007843, allocations: 0 / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.007852, allocations: 4 kB / 277.6 MB, free: 12.59 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: 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 8.887e-05/0.007941, allocations: 112.7 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.007993, allocations: 49.56 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.008027, allocations: 7.969 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008029, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008032, allocations: 64 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008037, allocations: 7.984 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.693e-05/0.008134, allocations: 69.89 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.008135, allocations: 4 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.008171, allocations: 11.92 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.008175, allocations: 7.938 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.008181, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.008183, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.008186, allocations: 4 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.008287, allocations: 141.3 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.008327, allocations: 27.92 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.00834, allocations: 3.938 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.008371, allocations: 4 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.008406, allocations: 0 / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.00841, allocations: 0 / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.008446, allocations: 40.31 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.008446, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.00858, allocations: 11.94 kB / 278.1 MB, free: 12.04 MB / 266.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.0001045/0.008685, allocations: 76.42 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.008762, allocations: 12.86 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.008768, allocations: 4 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.00878, allocations: 4.859 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.009024, allocations: 32.61 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.009536, allocations: 191.9 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.009583, allocations: 63.34 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.009616, allocations: 12.25 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.009676, allocations: 51.38 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009677, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.002695/0.01237, allocations: 0.6657 MB / 279.2 MB, free: 10.88 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.018533781170845]