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.001199/0.001199, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001091/0.001091, allocations: 160.5 kB / 24.55 MB, free: 20 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.9911/0.9911, allocations: 177 MB / 204.8 MB, free: 5.551 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 1.843e-06/1.843e-06, allocations: 0 / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.951e-05/4.135e-05, allocations: 2.312 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003283/0.003325, allocations: 1.643 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.004397, allocations: 0.5297 MB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004514, allocations: 3.938 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.806e-05/0.004602, allocations: 3.938 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.004821, allocations: 15.86 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.005223, allocations: 59.75 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.005351, allocations: 51.78 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005467, allocations: 16.11 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.005625, allocations: 39.91 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.00569, allocations: 15.91 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005712, allocations: 4 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/0.005765, allocations: 4 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.005903, allocations: 15.92 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.005934, allocations: 15.94 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.006092, allocations: 47.77 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006095, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006097, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.006103, allocations: 0 / 275.4 MB, free: 14.93 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.0005244/0.006627, allocations: 416.2 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.006687, allocations: 15.98 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.006857, allocations: 12.89 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.007074, allocations: 149 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.007086, allocations: 4.312 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.007101, allocations: 8.359 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.00738, allocations: 145 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.007392, allocations: 0 / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.007405, allocations: 0 / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.007416, allocations: 0 / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.00745, allocations: 11.98 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.007783, allocations: 283 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/0.007879, allocations: 89.12 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.007922, allocations: 35.17 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.007948, allocations: 4 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.007975, allocations: 41.39 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.007976, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.008168, allocations: 65.52 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.008224, allocations: 106.8 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.008354, allocations: 197.3 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.008366, allocations: 29.7 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.008424, allocations: 134.9 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.008439, allocations: 384 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.008473, allocations: 27.33 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.00861, allocations: 0.4961 MB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.008622, allocations: 0 / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.00863, allocations: 0 / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.00866, allocations: 15.62 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008662, allocations: 0 / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.345e-05/0.008725, allocations: 37.69 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00874, allocations: 7.125 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.008745, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.008762, allocations: 4.094 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.008834, allocations: 4 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.00884, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.008861, allocations: 4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.008867, allocations: 0 / 277.7 MB, free: 12.34 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 7.8e-05/0.008945, allocations: 164.5 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.009016, allocations: 49.59 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.009058, allocations: 15.95 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00906, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.009066, allocations: 64 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009069, allocations: 8 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.009219, allocations: 136.5 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.009223, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.009267, allocations: 15.92 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.00927, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009278, allocations: 3.938 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.00928, allocations: 0 / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009281, allocations: 0 / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.009423, allocations: 219.2 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.009462, allocations: 23.88 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.009476, allocations: 4 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.009533, allocations: 4 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.009567, allocations: 3.984 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.009572, allocations: 4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.00964, allocations: 147.1 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00964, allocations: 0 / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.009892, allocations: 8 kB / 278.5 MB, free: 11.47 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 8.471e-05/0.009977, allocations: 91.25 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.01007, allocations: 23.67 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01008, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.01009, allocations: 15.62 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.01045, allocations: 33.41 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.01116, allocations: 180.4 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01121, allocations: 63.28 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.078e-05/0.01124, allocations: 16.33 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.01127, allocations: 12.5 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01127, allocations: 0 / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Templates: time 0.00274/0.01401, allocations: 0.6291 MB / 279.5 MB, free: 10.35 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 -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.173291143029928]