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.0008607/0.0008607, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004325/0.004325, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8556/0.8556, allocations: 177.1 MB / 205 MB, free: 5.742 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.283e-06/1.283e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.635e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001698/0.001715, allocations: 1.616 MB / 327.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006038/0.002318, allocations: 0.5024 MB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.002392, allocations: 8 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.002435, allocations: 7.875 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.002554, allocations: 11.91 kB / 328 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.002792, allocations: 59.75 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.002884, allocations: 51.78 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.002972, allocations: 16.11 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003076, allocations: 31.92 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.003122, allocations: 19.91 kB / 328.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.003136, allocations: 4 kB / 328.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.217e-05/0.003168, allocations: 8 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.003208, allocations: 15.92 kB / 328.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.003227, allocations: 11.94 kB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003343, allocations: 59.78 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.00335, allocations: 3.984 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003351, allocations: 4 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003355, allocations: 0 / 328.3 MB, free: 13 MB / 298.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.000324/0.003679, allocations: 302 kB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.003708, allocations: 12.03 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.003802, allocations: 16.88 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.003965, allocations: 154 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.003972, allocations: 384 / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.003982, allocations: 4.375 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.004442, allocations: 122.2 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.00445, allocations: 0 / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004459, allocations: 4 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.004463, allocations: 0 / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.004509, allocations: 23.92 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.00472, allocations: 218.3 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.903e-05/0.004789, allocations: 71.72 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.004824, allocations: 34.56 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.004843, allocations: 4 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.004861, allocations: 34.5 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004862, allocations: 4 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001743/0.005036, allocations: 89.52 kB / 329.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.005082, allocations: 106.8 kB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.005172, allocations: 148.8 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.005181, allocations: 25.7 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.005217, allocations: 92.14 kB / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.005229, allocations: 3.984 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.005255, allocations: 10.09 kB / 329.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.00533, allocations: 326.8 kB / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.005351, allocations: 11.92 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.005366, allocations: 4 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.005403, allocations: 20.84 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005405, allocations: 4 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.754e-05/0.005462, allocations: 49.64 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005472, allocations: 4 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005477, allocations: 4.094 kB / 330.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.005486, allocations: 0 / 330.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.00553, allocations: 7.984 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.005533, allocations: 0 / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.00555, allocations: 7.938 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.005555, allocations: 4 kB / 330.1 MB, free: 10.88 MB / 298.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.811e-05/0.005614, allocations: 125.7 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.005654, allocations: 49.66 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.005677, allocations: 15.95 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005679, allocations: 4.062 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005683, allocations: 0 / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.005686, allocations: 0 / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.479e-05/0.005771, allocations: 117.2 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005772, allocations: 0 / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.005801, allocations: 15.92 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005802, allocations: 0 / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.00581, allocations: 8 kB / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005811, allocations: 0 / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005811, allocations: 0 / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.758e-05/0.005909, allocations: 181.1 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.005934, allocations: 15.94 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.005947, allocations: 11.98 kB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.005979, allocations: 0 / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.006005, allocations: 7.984 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.006008, allocations: 3.938 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.006055, allocations: 115.2 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006055, allocations: 0 / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.006195, allocations: 7.938 kB / 330.8 MB, free: 10.15 MB / 298.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 6.661e-05/0.006262, allocations: 99.25 kB / 330.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.006344, allocations: 23.98 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006346, allocations: 0 / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.006365, allocations: 15.92 kB / 330.9 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.006591, allocations: 19.97 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.006837, allocations: 208.7 kB / 331.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.117e-05/0.006888, allocations: 83.39 kB / 331.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.006912, allocations: 12.5 kB / 331.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006913, allocations: 0 / 331.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of Templates: time 0.001387/0.008299, allocations: 0.8345 MB / 332.1 MB, free: 8.793 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 3.9092385107651353]