Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.002378/0.002378, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002741/0.002741, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.001e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00322/0.00325, allocations: 1.584 MB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004408, allocations: 0.5179 MB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.004495, allocations: 11.94 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.004553, allocations: 3.938 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004693, allocations: 11.92 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.005005, allocations: 55.75 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.005141, allocations: 47.84 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.005235, allocations: 8.188 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005403, allocations: 43.77 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.005464, allocations: 15.92 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.005485, allocations: 4 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.005531, allocations: 8 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.005585, allocations: 15.92 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.005621, allocations: 19.92 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005796, allocations: 55.8 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005799, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005799, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.005805, allocations: 0 / 274.6 MB, free: 15.41 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.0006295/0.006435, allocations: 407.9 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.006477, allocations: 15.92 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.006657, allocations: 20.88 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.006906, allocations: 152.5 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006918, allocations: 4.375 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.006935, allocations: 384 / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.007235, allocations: 120.9 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.007244, allocations: 192 / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.007255, allocations: 4.125 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.007259, allocations: 4 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.007328, allocations: 19.92 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.007694, allocations: 271.5 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.007811, allocations: 62.12 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.007866, allocations: 23.42 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.007886, allocations: 0 / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.007929, allocations: 45.33 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 3.196e-06/0.007932, allocations: 3.984 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.008177, allocations: 65.77 kB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.00825, allocations: 77.11 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.008441, allocations: 208.5 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.008466, allocations: 29.7 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.008565, allocations: 138.8 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.00858, allocations: 3.953 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.008622, allocations: 19.38 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005593/0.009181, allocations: 0.4884 MB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.009215, allocations: 4 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.009242, allocations: 11.94 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.009304, allocations: 23.8 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009305, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.009414, allocations: 53.58 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.00943, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.009435, allocations: 0 / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.009452, allocations: 0 / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.009508, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009513, allocations: 0 / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.009541, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.00955, allocations: 8.016 kB / 276.8 MB, free: 12.9 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 0.0001206/0.00967, allocations: 160.5 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.009747, allocations: 41.59 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.009779, allocations: 11.81 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009781, allocations: 0 / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.009786, allocations: 3.984 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.009789, allocations: 0 / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.009964, allocations: 132.6 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.009965, allocations: 0 / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.01001, allocations: 8.031 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01001, allocations: 0 / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.01002, allocations: 7.875 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.01003, allocations: 3.984 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01003, allocations: 4 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.01025, allocations: 215.5 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.01029, allocations: 11.95 kB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.0103, allocations: 7.922 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.01036, allocations: 0 / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.0104, allocations: 4 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.0104, allocations: 4.031 kB / 277.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.01052, allocations: 151.2 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01052, allocations: 0 / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.01073, allocations: 4 kB / 277.6 MB, free: 12.07 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001201/0.01085, allocations: 99.23 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01098, allocations: 23.62 kB / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01098, allocations: 0 / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.01102, allocations: 15.73 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01136, allocations: 31.39 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.01173, allocations: 165.3 kB / 277.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.181e-05/0.01182, allocations: 75.27 kB / 278 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.01185, allocations: 4.25 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.01188, allocations: 8.5 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01188, allocations: 0 / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Templates: time 0.003347/0.01523, allocations: 0.5817 MB / 278.6 MB, free: 11.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.541163170011714]