Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.1 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 67.92 kB / 307.1 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1138, allocations: 50.54 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003225/0.1171, allocations: 1.644 MB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1181, allocations: 0.5571 MB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.1182, allocations: 3.938 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.55e-05/0.1183, allocations: 11.92 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1184, allocations: 7.938 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1188, allocations: 55.88 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.1189, allocations: 43.86 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.119, allocations: 24.16 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1191, allocations: 31.84 kB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.1192, allocations: 19.92 kB / 360.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1192, allocations: 0 / 360.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-05/0.1192, allocations: 12 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.1193, allocations: 11.94 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.1193, allocations: 27.73 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1194, allocations: 43.88 kB / 360.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1195, allocations: 4 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1195, allocations: 4 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1195, allocations: 3.938 kB / 360.2 MB, free: 11.84 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.000521/0.12, allocations: 379.3 kB / 360.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.12, allocations: 12.03 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1202, allocations: 16.83 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1205, allocations: 197.5 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1205, allocations: 8.375 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1205, allocations: 3.938 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.1208, allocations: 113.9 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1208, allocations: 0 / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1208, allocations: 4 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1208, allocations: 3.938 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.1209, allocations: 27.92 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1213, allocations: 278.5 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1214, allocations: 67.84 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.1215, allocations: 38.56 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1216, allocations: 0 / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1216, allocations: 34.56 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1216, allocations: 0 / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002808/0.1219, allocations: 85.7 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.122, allocations: 110.8 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1222, allocations: 152 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1222, allocations: 29.7 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.1223, allocations: 92.03 kB / 361.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1223, allocations: 4 kB / 361.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1223, allocations: 17.91 kB / 361.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1225, allocations: 322.8 kB / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1225, allocations: 4 kB / 362.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1226, allocations: 39.41 kB / 362.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.1227, allocations: 51.36 kB / 362.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1227, allocations: 0 / 362.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.1228, allocations: 73.52 kB / 362.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1229, allocations: 4 kB / 362.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1229, allocations: 0 / 362.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1229, allocations: 4.125 kB / 362.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.123, allocations: 15.94 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.123, allocations: 0 / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.123, allocations: 11.92 kB / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1231, allocations: 0 / 362.3 MB, free: 9.379 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.959e-05/0.1232, allocations: 113.8 kB / 362.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.1233, allocations: 61.53 kB / 362.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1233, allocations: 11.88 kB / 362.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1233, allocations: 4.062 kB / 362.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1233, allocations: 3.938 kB / 362.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1233, allocations: 7.938 kB / 362.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1235, allocations: 169.6 kB / 362.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1236, allocations: 4 kB / 362.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.1236, allocations: 7.938 kB / 362.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1236, allocations: 4 kB / 362.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1236, allocations: 3.984 kB / 362.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1236, allocations: 0 / 362.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1236, allocations: 0 / 362.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1239, allocations: 189 kB / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.124, allocations: 93 kB / 363 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.124, allocations: 0 / 363 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1241, allocations: 4 kB / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.1241, allocations: 3.938 kB / 363 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1241, allocations: 8 kB / 363 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1242, allocations: 110.1 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 0 / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1245, allocations: 12 kB / 363.1 MB, free: 8.477 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.0001142/0.1246, allocations: 95.25 kB / 363.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1247, allocations: 35.91 kB / 363.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1248, allocations: 256 / 363.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.1248, allocations: 11.94 kB / 363.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1252, allocations: 28.02 kB / 363.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.1256, allocations: 242.1 kB / 363.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.126, allocations: 0.6924 MB / 364.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.126, allocations: 11.44 kB / 364.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of SimCode: time 2.124e-06/0.126, allocations: 0 / 364.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of Templates: time 0.00247/0.1285, allocations: 0.8485 MB / 365.1 MB, free: 6.457 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches