Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.27 kB / 307.6 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09523, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002915/0.09818, allocations: 1.56 MB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.09926, allocations: 0.5648 MB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.09938, allocations: 8 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.09946, allocations: 3.938 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.09961, allocations: 11.88 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.09996, allocations: 59.81 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1001, allocations: 51.78 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1002, allocations: 20.16 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1003, allocations: 31.86 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.1004, allocations: 23.86 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1004, allocations: 4 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.1005, allocations: 7.984 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1005, allocations: 11.94 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.1006, allocations: 31.8 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1007, allocations: 51.75 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1007, allocations: 7.984 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1007, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1008, allocations: 0 / 360.6 MB, free: 11.68 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.0004775/0.1012, allocations: 383.3 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1013, allocations: 12.03 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1015, allocations: 16.83 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1017, allocations: 188.2 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1017, allocations: 4.375 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1017, allocations: 4.375 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.102, allocations: 113.1 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.102, allocations: 3.938 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.102, allocations: 0 / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.102, allocations: 0 / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1021, allocations: 19.98 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.1025, allocations: 261.8 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/0.1026, allocations: 53.14 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.1026, allocations: 21.7 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1026, allocations: 0 / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1027, allocations: 42.56 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1027, allocations: 0 / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002444/0.1029, allocations: 65.52 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.103, allocations: 85.05 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1031, allocations: 136.2 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1031, allocations: 25.7 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1032, allocations: 100.3 kB / 362.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.1032, allocations: 4 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1033, allocations: 21.56 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.1034, allocations: 322.8 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.1034, allocations: 4 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.1035, allocations: 25.7 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.755e-05/0.1035, allocations: 29.77 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1036, allocations: 4 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.1037, allocations: 53.62 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1037, allocations: 6.969 kB / 362.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1037, allocations: 0 / 362.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1037, allocations: 4 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1038, allocations: 4 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1038, allocations: 4.047 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.1039, allocations: 8 kB / 362.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1039, allocations: 4 kB / 362.6 MB, free: 9.426 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 8.268e-05/0.104, allocations: 121.7 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.104, allocations: 45.59 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.1041, allocations: 7.828 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1041, allocations: 4 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1041, allocations: 0 / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1041, allocations: 3.984 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1043, allocations: 173.6 kB / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1043, allocations: 4 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1043, allocations: 7.984 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1043, allocations: 0 / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1044, allocations: 0 / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1044, allocations: 0 / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1044, allocations: 7.938 kB / 362.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1045, allocations: 168.2 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.1046, allocations: 89.02 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1046, allocations: 7.984 kB / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.1047, allocations: 0 / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1047, allocations: 0 / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1047, allocations: 4 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.1048, allocations: 109.7 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1048, allocations: 0 / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1051, allocations: 8.031 kB / 363.3 MB, free: 8.574 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 9.937e-05/0.1052, allocations: 95.25 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1053, allocations: 27.92 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1053, allocations: 0 / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.1054, allocations: 11.98 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1057, allocations: 15.91 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.1061, allocations: 197.4 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1064, allocations: 0.6884 MB / 364.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1064, allocations: 11.42 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1064, allocations: 4 kB / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of Templates: time 0.002109/0.1086, allocations: 0.7375 MB / 365.1 MB, free: 6.723 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches