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.002153/0.002153, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002623/0.002623, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.666/1.666, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001672/0.001672, allocations: 47.94 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00337/0.1385, allocations: 1.599 MB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1396, allocations: 0.5415 MB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.1397, allocations: 7.938 kB / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.1398, allocations: 3.938 kB / 429 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1399, allocations: 15.84 kB / 429 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1403, allocations: 55.81 kB / 429 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1404, allocations: 55.8 kB / 429.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1405, allocations: 16.16 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1407, allocations: 27.92 kB / 429.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.1407, allocations: 23.86 kB / 429.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1408, allocations: 0 / 429.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.1408, allocations: 8 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.1409, allocations: 11.94 kB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.1409, allocations: 31.78 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1411, allocations: 67.61 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1411, allocations: 4 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1411, allocations: 4 kB / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1411, allocations: 0 / 429.3 MB, free: 1.809 MB / 350.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.0005733/0.1417, allocations: 375.1 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1417, allocations: 12.03 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.1419, allocations: 20.81 kB / 429.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1422, allocations: 208.7 kB / 429.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-06/0.1422, allocations: 4.375 kB / 429.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1422, allocations: 7.938 kB / 429.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1425, allocations: 117.9 kB / 430 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1425, allocations: 3.938 kB / 430 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1425, allocations: 0 / 430 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1426, allocations: 4 kB / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.1426, allocations: 19.98 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1431, allocations: 274.5 kB / 430.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1432, allocations: 75.77 kB / 430.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.1433, allocations: 34.62 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1433, allocations: 0 / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1433, allocations: 30.56 kB / 430.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1433, allocations: 4 kB / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003191/0.1436, allocations: 89.45 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.1437, allocations: 110.8 kB / 430.6 MB, free: 212 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1439, allocations: 147.8 kB / 430.8 MB, free: 56 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1439, allocations: 25.7 kB / 430.8 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.144, allocations: 88.52 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.144, allocations: 11.98 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1441, allocations: 21.67 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1442, allocations: 310.8 kB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1443, allocations: 11.98 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.1443, allocations: 31.42 kB / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1445, allocations: 55.36 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1445, allocations: 0 / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001633/0.1446, allocations: 69.56 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1446, allocations: 12.11 kB / 431.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.1447, allocations: 4 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1447, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.1448, allocations: 8 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1448, allocations: 3.938 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1448, allocations: 7.938 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1448, allocations: 7.984 kB / 431.4 MB, free: 15.34 MB / 366.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 0.0001161/0.1449, allocations: 121.8 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.145, allocations: 61.53 kB / 431.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1451, allocations: 7.875 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1451, allocations: 0 / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1451, allocations: 0 / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1451, allocations: 7.938 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1453, allocations: 173.6 kB / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1453, allocations: 7.938 kB / 431.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.1454, allocations: 8 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1454, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1454, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1454, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1454, allocations: 12 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1456, allocations: 177.1 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.1457, allocations: 93.05 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1457, allocations: 4 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1458, allocations: 4 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.1458, allocations: 3.938 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1459, allocations: 8 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.146, allocations: 114.2 kB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.146, allocations: 0 / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1462, allocations: 4 kB / 432.2 MB, free: 14.44 MB / 366.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.0001346/0.1463, allocations: 95.78 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1465, allocations: 43.91 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1465, allocations: 0 / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.1466, allocations: 7.938 kB / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1469, allocations: 28 kB / 432.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1473, allocations: 184.7 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1477, allocations: 0.6963 MB / 433.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.1478, allocations: 4 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1478, allocations: 11.44 kB / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1478, allocations: 0 / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.003453/0.1512, allocations: 0.6024 MB / 433.9 MB, free: 12.72 MB / 366.1 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: 4.985421102494001]