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.000977/0.0009769, allocations: 94.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.5 MB, free: 11.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 4 kB / 308.4 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1018, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001644/0.1035, allocations: 1.301 MB / 361.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.1044, allocations: 0.5222 MB / 361.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1045, allocations: 7.938 kB / 361.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.1045, allocations: 7.922 kB / 361.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1046, allocations: 11.88 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1049, allocations: 55.88 kB / 361.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.105, allocations: 39.86 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.1051, allocations: 24.16 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1052, allocations: 23.92 kB / 361.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.1053, allocations: 19.86 kB / 361.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1053, allocations: 4 kB / 361.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.1053, allocations: 0 / 361.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1054, allocations: 11.92 kB / 361.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1054, allocations: 53.52 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.1055, allocations: 47.86 kB / 362 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1055, allocations: 0 / 362 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1056, allocations: 0 / 362 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1056, allocations: 0 / 362 MB, free: 11.11 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.0004182/0.106, allocations: 375.4 kB / 362.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.106, allocations: 8.031 kB / 362.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1062, allocations: 20.83 kB / 362.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1064, allocations: 200.7 kB / 362.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1064, allocations: 4.375 kB / 362.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1064, allocations: 3.938 kB / 362.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1066, allocations: 117.9 kB / 362.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1067, allocations: 0 / 362.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1067, allocations: 7.984 kB / 362.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1067, allocations: 0 / 362.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.1068, allocations: 27.92 kB / 362.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.1071, allocations: 282.5 kB / 363.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1072, allocations: 75.72 kB / 363.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.1073, allocations: 34.62 kB / 363.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1073, allocations: 7.938 kB / 363.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1073, allocations: 34.56 kB / 363.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1073, allocations: 0 / 363.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002603/0.1076, allocations: 85.86 kB / 363.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1077, allocations: 114.8 kB / 363.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1078, allocations: 149.7 kB / 363.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1078, allocations: 25.7 kB / 363.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.1079, allocations: 92.14 kB / 363.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.1079, allocations: 3.984 kB / 363.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.1079, allocations: 13.72 kB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.108, allocations: 314.8 kB / 364 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.1081, allocations: 15.98 kB / 364 MB, free: 8.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.1081, allocations: 39.36 kB / 364.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.1082, allocations: 55.36 kB / 364.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1083, allocations: 0 / 364.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001368/0.1084, allocations: 73.53 kB / 364.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1084, allocations: 4 kB / 364.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1084, allocations: 4.125 kB / 364.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1084, allocations: 4 kB / 364.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.1085, allocations: 15.92 kB / 364.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1085, allocations: 0 / 364.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.1086, allocations: 7.938 kB / 364.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1086, allocations: 0 / 364.2 MB, free: 8.637 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 7.589e-05/0.1087, allocations: 125.8 kB / 364.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1088, allocations: 53.55 kB / 364.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.1088, allocations: 15.86 kB / 364.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1088, allocations: 0 / 364.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1088, allocations: 4 kB / 364.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1088, allocations: 3.938 kB / 364.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.109, allocations: 169.7 kB / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.109, allocations: 0 / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1091, allocations: 11.98 kB / 364.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1091, allocations: 0 / 364.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1091, allocations: 4 kB / 364.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1091, allocations: 8 kB / 364.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1091, allocations: 4 kB / 364.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1093, allocations: 185 kB / 364.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1094, allocations: 93 kB / 364.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1094, allocations: 11.98 kB / 364.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.1095, allocations: 4 kB / 364.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1095, allocations: 3.938 kB / 364.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.1095, allocations: 0 / 364.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.1096, allocations: 114.2 kB / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1096, allocations: 0 / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1098, allocations: 12 kB / 365 MB, free: 7.723 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 9.175e-05/0.1099, allocations: 95.25 kB / 365.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1101, allocations: 35.92 kB / 365.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1101, allocations: 0 / 365.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.996e-05/0.1101, allocations: 11.98 kB / 365.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1105, allocations: 27.95 kB / 365.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1108, allocations: 236.5 kB / 365.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1111, allocations: 0.7004 MB / 366.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.1111, allocations: 15.44 kB / 366.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1111, allocations: 0 / 366.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of Templates: time 0.002056/0.1132, allocations: 0.8228 MB / 367 MB, free: 5.715 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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