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.001308/0.001307, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 65.3 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1068, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003297/0.1101, allocations: 1.548 MB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1111, allocations: 0.5415 MB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.1112, allocations: 0 / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.1113, allocations: 11.86 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1114, allocations: 11.94 kB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1118, allocations: 55.8 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1119, allocations: 55.78 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.112, allocations: 16.17 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1122, allocations: 23.92 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.1122, allocations: 19.86 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1122, allocations: 8 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.1123, allocations: 11.92 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.1124, allocations: 15.92 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1124, allocations: 31.81 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1126, allocations: 51.73 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1126, allocations: 4 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1126, allocations: 0 / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1126, allocations: 0 / 359.9 MB, free: 11.61 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.0005682/0.1132, allocations: 383.3 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1132, allocations: 12.03 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1134, allocations: 16.84 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1136, allocations: 192.2 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1136, allocations: 384 / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1137, allocations: 8.375 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.114, allocations: 117.1 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.114, allocations: 0 / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.114, allocations: 0 / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.114, allocations: 3.938 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.1141, allocations: 19.92 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1145, allocations: 261.8 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.1146, allocations: 53.14 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.1146, allocations: 17.78 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1147, allocations: 0 / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1147, allocations: 42.5 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1147, allocations: 0 / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002434/0.115, allocations: 69.52 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.115, allocations: 81.11 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1152, allocations: 144.2 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1152, allocations: 29.64 kB / 361.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1153, allocations: 92.08 kB / 361.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.1153, allocations: 0 / 361.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1153, allocations: 25.86 kB / 361.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1155, allocations: 318.8 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.1155, allocations: 7.984 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.1156, allocations: 21.72 kB / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.1157, allocations: 33.77 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1157, allocations: 0 / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.1158, allocations: 53.62 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1158, allocations: 10.8 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1159, allocations: 0 / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1159, allocations: 4 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.1159, allocations: 4 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.116, allocations: 0 / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.116, allocations: 0 / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.116, allocations: 8.062 kB / 361.9 MB, free: 9.359 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.015e-05/0.1161, allocations: 121.8 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.1162, allocations: 41.55 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.1162, allocations: 15.81 kB / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1162, allocations: 4 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1163, allocations: 0 / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1163, allocations: 0 / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1164, allocations: 165.6 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1165, allocations: 4 kB / 362.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.1165, allocations: 8.031 kB / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1165, allocations: 0 / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1165, allocations: 4 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1165, allocations: 7.984 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1165, allocations: 4 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1167, allocations: 160.2 kB / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1168, allocations: 100.9 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1168, allocations: 4 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1169, allocations: 0 / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1169, allocations: 7.969 kB / 362.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.117, allocations: 4 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.117, allocations: 105.8 kB / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1173, allocations: 4 kB / 362.7 MB, free: 8.508 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.0001121/0.1174, allocations: 107.3 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1175, allocations: 19.92 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1176, allocations: 0 / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.1176, allocations: 12 kB / 362.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.118, allocations: 19.95 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1184, allocations: 163.7 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1187, allocations: 0.6923 MB / 363.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.648e-05/0.1188, allocations: 3.938 kB / 363.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.1188, allocations: 11.44 kB / 363.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1188, allocations: 4 kB / 363.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Templates: time 0.003012/0.1218, allocations: 0.509 MB / 364.2 MB, free: 6.918 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/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