Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 114.2 kB / 19.04 MB, free: 3.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3687, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002738/0.3715, allocations: 1.611 MB / 422.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.3723, allocations: 482.8 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.3724, allocations: 3.938 kB / 423 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.3724, allocations: 11.92 kB / 423 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.3725, allocations: 7.875 kB / 423 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.3728, allocations: 47.89 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.3729, allocations: 47.78 kB / 423.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.373, allocations: 16.19 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.3731, allocations: 23.91 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.3732, allocations: 23.86 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3732, allocations: 7.938 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.3732, allocations: 0 / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.3732, allocations: 19.86 kB / 423.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3733, allocations: 23.81 kB / 423.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3734, allocations: 60.94 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3734, allocations: 0 / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3734, allocations: 4 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3734, allocations: 4 kB / 423.2 MB, free: 12.75 MB / 334.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.0005247/0.3739, allocations: 371.1 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.374, allocations: 8.031 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.374, allocations: 12.89 kB / 423.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3743, allocations: 208.1 kB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3743, allocations: 384 / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3743, allocations: 4.375 kB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3746, allocations: 122 kB / 424 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3746, allocations: 4 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3746, allocations: 0 / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3746, allocations: 0 / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.3747, allocations: 23.98 kB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3751, allocations: 274.5 kB / 424.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3752, allocations: 79.78 kB / 424.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.3753, allocations: 30.64 kB / 424.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3753, allocations: 3.984 kB / 424.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3753, allocations: 30.56 kB / 424.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3753, allocations: 3.938 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002639/0.3756, allocations: 89.59 kB / 424.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.3757, allocations: 110.8 kB / 424.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3758, allocations: 140.7 kB / 424.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3758, allocations: 25.7 kB / 424.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.3759, allocations: 88.14 kB / 424.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3759, allocations: 7.953 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.3759, allocations: 21.98 kB / 424.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.376, allocations: 322.8 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.3761, allocations: 7.984 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.3761, allocations: 31.44 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/0.3762, allocations: 47.36 kB / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3762, allocations: 0 / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.3764, allocations: 77.5 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3764, allocations: 8 kB / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3764, allocations: 0 / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3764, allocations: 4.125 kB / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.3765, allocations: 11.98 kB / 425.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3765, allocations: 7.938 kB / 425.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.3765, allocations: 3.938 kB / 425.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3765, allocations: 4 kB / 425.4 MB, free: 10.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.272e-05/0.3766, allocations: 125.7 kB / 425.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.3767, allocations: 49.59 kB / 425.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3767, allocations: 15.86 kB / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3767, allocations: 8.156 kB / 425.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3768, allocations: 3.984 kB / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3768, allocations: 0 / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3769, allocations: 173.6 kB / 425.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3769, allocations: 0 / 425.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.377, allocations: 11.98 kB / 425.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.377, allocations: 0 / 425.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.377, allocations: 0 / 425.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.377, allocations: 4 kB / 425.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.377, allocations: 3.938 kB / 425.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3772, allocations: 181.1 kB / 425.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.3773, allocations: 93.05 kB / 426 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3773, allocations: 7.938 kB / 426 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3774, allocations: 3.984 kB / 426.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3774, allocations: 4 kB / 426.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3774, allocations: 8 kB / 426.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.3775, allocations: 111.2 kB / 426.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3775, allocations: 0 / 426.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3778, allocations: 8 kB / 426.2 MB, free: 9.406 MB / 334.1 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 0.0002391/0.378, allocations: 99.98 kB / 426.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3782, allocations: 27.98 kB / 426.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3782, allocations: 4.25 kB / 426.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.3782, allocations: 11.92 kB / 426.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3786, allocations: 35.23 kB / 426.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.3789, allocations: 184.5 kB / 426.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3793, allocations: 0.6964 MB / 427.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.156e-05/0.3793, allocations: 8 kB / 427.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3794, allocations: 11.44 kB / 427.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3794, allocations: 0 / 427.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Templates: time 0.003581/0.383, allocations: 0.6069 MB / 427.9 MB, free: 7.668 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.938571541570127]