Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001225/0.001225, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001473/0.001473, allocations: 171.8 kB / 24.91 MB, free: 9.145 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.9073/0.9073, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.463e-05, allocations: 4.844 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002876/0.0029, allocations: 1.638 MB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.003887, allocations: 0.549 MB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.003973, allocations: 7.938 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.004025, allocations: 3.938 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.00416, allocations: 7.875 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.004478, allocations: 63.73 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.0046, allocations: 51.78 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.004686, allocations: 12.12 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.004839, allocations: 31.95 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.004893, allocations: 15.92 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.004911, allocations: 8 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-05/0.00495, allocations: 4 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.004995, allocations: 19.92 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.005019, allocations: 15.92 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.005149, allocations: 51.75 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005151, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005152, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005156, allocations: 0 / 275.9 MB, free: 14.8 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.0003556/0.005512, allocations: 280.6 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.005548, allocations: 8.031 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.005676, allocations: 24.86 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.005885, allocations: 142.2 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.005893, allocations: 4.375 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.005908, allocations: 12.31 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.006096, allocations: 118.9 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.006103, allocations: 0 / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.006109, allocations: 4 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.006115, allocations: 0 / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.006137, allocations: 11.98 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.006323, allocations: 158 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.006395, allocations: 59.78 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.006422, allocations: 18.64 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.00644, allocations: 8 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.006465, allocations: 34.5 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006467, allocations: 4 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001365/0.006603, allocations: 57.55 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.006663, allocations: 110.8 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.006759, allocations: 142 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.00677, allocations: 25.7 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.006803, allocations: 80.14 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.006821, allocations: 11.94 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.00685, allocations: 13.72 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.006938, allocations: 319.2 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.006946, allocations: 4 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.006953, allocations: 0 / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.00698, allocations: 16.78 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006981, allocations: 0 / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.63e-05/0.007038, allocations: 37.64 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.00705, allocations: 4 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.007054, allocations: 0 / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007066, allocations: 3.938 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.00712, allocations: 7.984 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.007122, allocations: 4.094 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.007141, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.007146, allocations: 0 / 277.6 MB, free: 12.89 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 6.177e-05/0.007208, allocations: 112.7 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.007268, allocations: 45.56 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.007294, allocations: 15.95 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007296, allocations: 0 / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007298, allocations: 4 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007301, allocations: 0 / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007425, allocations: 73.88 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007426, allocations: 4.062 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.007467, allocations: 8 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.007472, allocations: 7.922 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.00748, allocations: 11.94 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007482, allocations: 0 / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007483, allocations: 0 / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.007636, allocations: 141.3 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.007672, allocations: 23.88 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.007686, allocations: 7.938 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.007743, allocations: 4.031 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.007768, allocations: 8 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.007771, allocations: 0 / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.007805, allocations: 24.83 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007805, allocations: 4 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.008008, allocations: 7.938 kB / 278.1 MB, free: 12.34 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 9.248e-05/0.0081, allocations: 84.34 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.008158, allocations: 12.86 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.008162, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.008175, allocations: 16.91 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.008428, allocations: 24.75 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.008894, allocations: 186.9 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.008937, allocations: 63.34 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.008963, allocations: 4 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.009021, allocations: 55.61 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009022, allocations: 7.938 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002682/0.0117, allocations: 0.6653 MB / 279.2 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.5369692160747945]