Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001479, allocations: 209.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.44 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1097, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003219/0.113, allocations: 1.621 MB / 359.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1141, allocations: 0.5299 MB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.1142, allocations: 3.938 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.1143, allocations: 0 / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1145, allocations: 19.91 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1148, allocations: 43.89 kB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1149, allocations: 47.8 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.115, allocations: 20.17 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1152, allocations: 35.84 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.1153, allocations: 23.8 kB / 360 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1153, allocations: 4 kB / 360 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.686e-05/0.1153, allocations: 8 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.1154, allocations: 15.92 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.1154, allocations: 23.81 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1156, allocations: 39.92 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1156, allocations: 0 / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1156, allocations: 0 / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1156, allocations: 0 / 360.1 MB, free: 11.95 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.0005793/0.1162, allocations: 391.3 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1162, allocations: 8.031 kB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1164, allocations: 20.83 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1167, allocations: 196.2 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1167, allocations: 4.312 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1167, allocations: 4.375 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.117, allocations: 109.2 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.117, allocations: 0 / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.117, allocations: 4 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.117, allocations: 0 / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.1171, allocations: 15.98 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1175, allocations: 269.7 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.1176, allocations: 37.22 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.1176, allocations: 21.77 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1177, allocations: 0 / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.1177, allocations: 46.5 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002464/0.118, allocations: 65.58 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.118, allocations: 81.05 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1182, allocations: 144.2 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1182, allocations: 29.95 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.1183, allocations: 96.08 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.1183, allocations: 0 / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1184, allocations: 17.62 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1186, allocations: 322.8 kB / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.1186, allocations: 7.938 kB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.1187, allocations: 25.7 kB / 362 MB, free: 9.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.1188, allocations: 33.7 kB / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1188, allocations: 0 / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001299/0.1189, allocations: 53.69 kB / 362.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1189, allocations: 4 kB / 362.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1189, allocations: 0 / 362.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.119, allocations: 0 / 362.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.119, allocations: 15.98 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1191, allocations: 7.938 kB / 362.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1191, allocations: 0 / 362.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1191, allocations: 0 / 362.1 MB, free: 9.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.669e-05/0.1192, allocations: 121.8 kB / 362.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1193, allocations: 37.61 kB / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.1193, allocations: 15.83 kB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1193, allocations: 0 / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1193, allocations: 8.031 kB / 362.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1194, allocations: 3.984 kB / 362.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1196, allocations: 165.6 kB / 362.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1196, allocations: 0 / 362.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.1196, allocations: 4 kB / 362.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1196, allocations: 4 kB / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1196, allocations: 0 / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1196, allocations: 0 / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1196, allocations: 0 / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1199, allocations: 172.2 kB / 362.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.12, allocations: 96.98 kB / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.12, allocations: 0 / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.1201, allocations: 4 kB / 362.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1201, allocations: 0 / 362.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1201, allocations: 0 / 362.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.1202, allocations: 113.7 kB / 362.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1202, allocations: 4.031 kB / 362.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1205, allocations: 4 kB / 362.8 MB, free: 8.848 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001119/0.1206, allocations: 95.25 kB / 362.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1207, allocations: 27.91 kB / 363 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1207, allocations: 3.938 kB / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.1208, allocations: 12 kB / 363 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1212, allocations: 28.14 kB / 363 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.1216, allocations: 205.1 kB / 363.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.122, allocations: 0.6924 MB / 363.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.122, allocations: 15.44 kB / 363.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.122, allocations: 0 / 363.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of Templates: time 0.002323/0.1244, allocations: 0.7418 MB / 364.6 MB, free: 6.969 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches