Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 98.3 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 206.9 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 8 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 51.51 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002397/0.1278, allocations: 1.309 MB / 360.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1293, allocations: 0.5222 MB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1296, allocations: 3.938 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.1297, allocations: 4 kB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1299, allocations: 7.938 kB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1305, allocations: 63.77 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1307, allocations: 43.89 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1308, allocations: 20.11 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.131, allocations: 19.92 kB / 361.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.1311, allocations: 27.86 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1311, allocations: 3.984 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.1312, allocations: 4 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.1313, allocations: 7.938 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.1314, allocations: 53.5 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1315, allocations: 55.73 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1316, allocations: 0 / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1316, allocations: 0 / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1316, allocations: 0 / 361.4 MB, free: 11.14 MB / 302.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.0006665/0.1323, allocations: 373.9 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1323, allocations: 11.97 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.1325, allocations: 24.83 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1328, allocations: 208.2 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1328, allocations: 4.375 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1329, allocations: 7.938 kB / 362 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1332, allocations: 113.9 kB / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1332, allocations: 0 / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.1333, allocations: 4 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1333, allocations: 0 / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1334, allocations: 27.91 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.1339, allocations: 286.5 kB / 362.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1341, allocations: 71.78 kB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.1342, allocations: 30.64 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1342, allocations: 0 / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1343, allocations: 46.48 kB / 362.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1343, allocations: 0 / 362.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003485/0.1346, allocations: 93.5 kB / 362.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.1347, allocations: 106.8 kB / 362.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1349, allocations: 149.7 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1349, allocations: 30.08 kB / 363 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.135, allocations: 88.14 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.135, allocations: 0 / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1351, allocations: 17.72 kB / 363.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1352, allocations: 314.8 kB / 363.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.1352, allocations: 19.92 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.1353, allocations: 35.44 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1354, allocations: 51.36 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1354, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001642/0.1356, allocations: 77.52 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1356, allocations: 4 kB / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1356, allocations: 0 / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1356, allocations: 4 kB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.1357, allocations: 11.98 kB / 363.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1358, allocations: 3.938 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.1358, allocations: 12.06 kB / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1358, allocations: 8 kB / 363.6 MB, free: 8.656 MB / 302.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.494e-05/0.1359, allocations: 125.7 kB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.136, allocations: 45.61 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.1361, allocations: 15.86 kB / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1361, allocations: 4 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1361, allocations: 0 / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1361, allocations: 3.938 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1363, allocations: 173.6 kB / 364 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1363, allocations: 4.062 kB / 364 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.1364, allocations: 15.92 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1364, allocations: 0 / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1364, allocations: 4 kB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.1364, allocations: 4 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1365, allocations: 0 / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1367, allocations: 185.1 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.1368, allocations: 93 kB / 364.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1368, allocations: 0 / 364.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.1369, allocations: 4 kB / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1369, allocations: 11.86 kB / 364.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1369, allocations: 8 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.137, allocations: 114.4 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.137, allocations: 0 / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1372, allocations: 8 kB / 364.4 MB, free: 7.746 MB / 302.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.0001221/0.1374, allocations: 95.25 kB / 364.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1375, allocations: 35.92 kB / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1375, allocations: 256 / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.1376, allocations: 15.98 kB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.138, allocations: 24.02 kB / 364.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.1385, allocations: 214.5 kB / 364.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1388, allocations: 0.6926 MB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.1388, allocations: 4 kB / 365.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.1388, allocations: 11.42 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1388, allocations: 0 / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003313/0.1422, allocations: 0.5372 MB / 366 MB, free: 6.062 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches