Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.71e-05, allocations: 2.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001899/0.001916, allocations: 1.597 MB / 275.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.002606, allocations: 0.516 MB / 276.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.00268, allocations: 7.938 kB / 276.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.00273, allocations: 3.938 kB / 276.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.002845, allocations: 16.72 kB / 276.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.003064, allocations: 56.27 kB / 276.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.003147, allocations: 51.78 kB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.003223, allocations: 13.08 kB / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.003319, allocations: 31.84 kB / 276.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.00336, allocations: 16.61 kB / 276.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.003373, allocations: 1.938 kB / 276.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.003408, allocations: 11.98 kB / 276.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.003443, allocations: 15.92 kB / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.00346, allocations: 11.94 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003562, allocations: 47.77 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003564, allocations: 0 / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003565, allocations: 0.5 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.872e-06/0.003571, allocations: 0.6562 kB / 276.6 MB, free: 2.039 MB / 250.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.0003074/0.003878, allocations: 418.7 kB / 277 MB, free: 1.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.003905, allocations: 8.031 kB / 277 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.004, allocations: 24.84 kB / 277 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004132, allocations: 148.4 kB / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.004138, allocations: 384 / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.004145, allocations: 8.375 kB / 277.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.00428, allocations: 117.6 kB / 277.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.004285, allocations: 192 / 277.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.004293, allocations: 12.06 kB / 277.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004297, allocations: 0 / 277.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.004311, allocations: 4 kB / 277.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.004494, allocations: 236.1 kB / 277.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.004545, allocations: 62.05 kB / 277.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.004564, allocations: 23.5 kB / 277.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.004575, allocations: 0 / 277.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004595, allocations: 33.39 kB / 277.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004596, allocations: 4 kB / 277.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000118/0.004714, allocations: 53.52 kB / 277.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.004754, allocations: 85.05 kB / 277.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.004838, allocations: 197 kB / 278 MB, free: 448 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.004846, allocations: 25.95 kB / 278 MB, free: 416 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.004891, allocations: 142.9 kB / 278.1 MB, free: 268 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.004903, allocations: 3.953 kB / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.004927, allocations: 19.38 kB / 278.2 MB, free: 236 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.005043, allocations: 496.1 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-06/0.005052, allocations: 0 / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.00506, allocations: 7.984 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.00508, allocations: 7.688 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005082, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.821e-05/0.00513, allocations: 45.59 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005142, allocations: 12.03 kB / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005146, allocations: 0 / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.005152, allocations: 0 / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.005195, allocations: 7.984 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.005197, allocations: 3.938 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.005213, allocations: 4 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005218, allocations: 0 / 278.7 MB, free: 15.64 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 5.342e-05/0.005271, allocations: 152.6 kB / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.005309, allocations: 37.66 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.005332, allocations: 15.73 kB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005334, allocations: 8.031 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005335, allocations: 0 / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005339, allocations: 3.984 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.005431, allocations: 105.2 kB / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005432, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.005453, allocations: 11.94 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005455, allocations: 0 / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.005459, allocations: 4 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.005461, allocations: 3.984 kB / 279.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005463, allocations: 3.938 kB / 279.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.005546, allocations: 199.6 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.005571, allocations: 15.94 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.005579, allocations: 0 / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.005609, allocations: 4 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.005629, allocations: 3.938 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005631, allocations: 0 / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.461e-05/0.005676, allocations: 147.1 kB / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005676, allocations: 0 / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.005807, allocations: 8 kB / 279.4 MB, free: 14.86 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 8.575e-05/0.005893, allocations: 99.22 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.966e-05/0.005943, allocations: 11.69 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.005944, allocations: 0 / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.005956, allocations: 11.69 kB / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.006165, allocations: 16.3 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.006498, allocations: 173.3 kB / 279.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.006531, allocations: 63.42 kB / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.197e-05/0.006553, allocations: 11.91 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.006603, allocations: 74.19 kB / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006603, allocations: 0 / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002261/0.008864, allocations: 0.622 MB / 280.5 MB, free: 13.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6648797881789505]