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.0008736/0.0008736, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009995/0.0009997, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002328, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001685/0.1026, allocations: 1.274 MB / 360.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.1035, allocations: 0.5494 MB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1036, allocations: 4 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.1037, allocations: 3.938 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1038, allocations: 3.938 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1041, allocations: 59.83 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.1042, allocations: 47.78 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.1043, allocations: 16.16 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1044, allocations: 27.92 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.1044, allocations: 19.86 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1045, allocations: 4 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.1045, allocations: 4 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.1046, allocations: 19.92 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1046, allocations: 49.5 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1047, allocations: 55.73 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1047, allocations: 0 / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1047, allocations: 3.938 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1047, allocations: 0 / 361.4 MB, free: 11.12 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.0004315/0.1052, allocations: 363.5 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1052, allocations: 8.031 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.1054, allocations: 24.83 kB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1055, allocations: 194.6 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1056, allocations: 4.375 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1056, allocations: 4.375 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1059, allocations: 125.1 kB / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1059, allocations: 0 / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1059, allocations: 0 / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1059, allocations: 3.938 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.106, allocations: 23.92 kB / 362.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.1063, allocations: 265.8 kB / 362.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.1064, allocations: 49.16 kB / 362.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1064, allocations: 21.77 kB / 362.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1064, allocations: 0 / 362.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1065, allocations: 38.5 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1065, allocations: 0 / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.1067, allocations: 77.52 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1068, allocations: 77.11 kB / 362.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1069, allocations: 146.1 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1069, allocations: 25.7 kB / 362.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.107, allocations: 96.08 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.107, allocations: 3.906 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.107, allocations: 9.719 kB / 362.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.1071, allocations: 318.8 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.1072, allocations: 15.94 kB / 363.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.1072, allocations: 25.7 kB / 363.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.1073, allocations: 33.7 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1073, allocations: 0 / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.1074, allocations: 61.69 kB / 363.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1074, allocations: 4 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1075, allocations: 0 / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1075, allocations: 4 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1075, allocations: 7.984 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1075, allocations: 0 / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.1076, allocations: 4 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1076, allocations: 0 / 363.4 MB, free: 8.867 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 6.989e-05/0.1077, allocations: 125.8 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.1077, allocations: 45.53 kB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.1078, allocations: 15.83 kB / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1078, allocations: 3.984 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1078, allocations: 0 / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1078, allocations: 0 / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1079, allocations: 173.6 kB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.108, allocations: 0 / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.108, allocations: 7.984 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.108, allocations: 8.031 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.108, allocations: 0 / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.108, allocations: 0 / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.108, allocations: 0 / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1082, allocations: 176.2 kB / 363.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1083, allocations: 96.88 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1083, allocations: 0 / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.1084, allocations: 8 kB / 364 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1084, allocations: 0 / 364 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1084, allocations: 4 kB / 364 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.1085, allocations: 114.7 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1085, allocations: 0 / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1087, allocations: 4 kB / 364.2 MB, free: 7.996 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 8.237e-05/0.1088, allocations: 99.28 kB / 364.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1089, allocations: 23.98 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1089, allocations: 0 / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.109, allocations: 15.92 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1093, allocations: 16.16 kB / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.1096, allocations: 193.5 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1098, allocations: 0.6809 MB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.61e-05/0.1099, allocations: 11.98 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.1099, allocations: 7.438 kB / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1099, allocations: 4 kB / 365.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of Templates: time 0.002256/0.1121, allocations: 478.4 kB / 365.7 MB, free: 6.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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