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.001806/0.001806, allocations: 86.48 kB / 20.68 MB, free: 1.035 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.002038/0.002038, allocations: 158.9 kB / 23.95 MB, free: 4.168 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.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.168 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.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.994e-06/1.994e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.795e-05, allocations: 2.281 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003222/0.00326, allocations: 1.567 MB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004535, allocations: 0.5104 MB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.004628, allocations: 1.156 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.461e-05/0.004693, allocations: 9.906 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.004858, allocations: 12.2 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.005233, allocations: 61.38 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.005374, allocations: 48.62 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005486, allocations: 9.578 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005633, allocations: 40.73 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.005696, allocations: 13.97 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.005715, allocations: 3.312 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.005756, allocations: 4.359 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.005811, allocations: 14.05 kB / 327.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.005852, allocations: 19.08 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.006018, allocations: 58.12 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00602, allocations: 4 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006021, allocations: 1 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006025, allocations: 0 / 327.4 MB, free: 14.95 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.0005253/0.006551, allocations: 306 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.006593, allocations: 13.28 kB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.006763, allocations: 17.88 kB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.007012, allocations: 149.6 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.007023, allocations: 2.656 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.007033, allocations: 6.812 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.007333, allocations: 109.6 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007343, allocations: 1.531 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.007355, allocations: 4.125 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.00736, allocations: 1.469 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.007441, allocations: 17.72 kB / 328 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.007759, allocations: 210.1 kB / 328.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.007881, allocations: 46.38 kB / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.007937, allocations: 17.72 kB / 328.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.007953, allocations: 1.219 kB / 328.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.007994, allocations: 45.72 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.007996, allocations: 0 / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.008274, allocations: 66.91 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.008368, allocations: 79.39 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.008555, allocations: 146.7 kB / 328.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.008578, allocations: 25.7 kB / 328.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.008659, allocations: 92.28 kB / 328.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.008676, allocations: 9.078 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.008716, allocations: 13.94 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.008893, allocations: 317.4 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.008937, allocations: 6.656 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.008969, allocations: 9.828 kB / 329.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.009054, allocations: 26.36 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009055, allocations: 0 / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.009191, allocations: 56.98 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.009206, allocations: 3.719 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.00921, allocations: 1.281 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.009226, allocations: 0.6562 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.009295, allocations: 4.375 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.009301, allocations: 1.344 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.009339, allocations: 6.328 kB / 329.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.009347, allocations: 8.016 kB / 329.2 MB, free: 13.27 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.0001094/0.009457, allocations: 113.4 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.009533, allocations: 45.36 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.009565, allocations: 13.22 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009567, allocations: 5.281 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.009572, allocations: 0 / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.009578, allocations: 1.25 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.009741, allocations: 117 kB / 329.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.009743, allocations: 0.5156 kB / 329.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.009791, allocations: 6.219 kB / 329.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.009793, allocations: 5.312 kB / 329.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.009804, allocations: 5.188 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.009807, allocations: 0.8906 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.009809, allocations: 1.469 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01001, allocations: 153.8 kB / 329.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.01005, allocations: 16.22 kB / 329.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01007, allocations: 6.094 kB / 329.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.01014, allocations: 9.984 kB / 329.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01018, allocations: 5.828 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01018, allocations: 6.297 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.613e-05/0.01028, allocations: 111.7 kB / 329.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01028, allocations: 0 / 329.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000222/0.0105, allocations: 10.06 kB / 329.8 MB, free: 12.71 MB / 302.1 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 9.753e-05/0.0106, allocations: 92.86 kB / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01073, allocations: 15.5 kB / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01073, allocations: 0 / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.01078, allocations: 20.41 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.01111, allocations: 27.31 kB / 329.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.01146, allocations: 157.3 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.01155, allocations: 75.28 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.01157, allocations: 2.828 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.01161, allocations: 11.41 kB / 330.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01161, allocations: 0 / 330.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Templates: time 0.003303/0.01491, allocations: 0.559 MB / 330.7 MB, free: 12.3 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] 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.3460655473172665]