Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 109.5 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009686, allocations: 47.52 kB / 299.9 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1019, allocations: 49.44 MB / 349.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00279/0.1047, allocations: 1.608 MB / 351 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.1055, allocations: 0.4909 MB / 351.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1056, allocations: 4 kB / 351.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.1057, allocations: 0 / 351.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.1058, allocations: 3.938 kB / 351.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.106, allocations: 52.33 kB / 351.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.1061, allocations: 47.84 kB / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1063, allocations: 19.94 kB / 351.6 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.1063, allocations: 19.88 kB / 351.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.1064, allocations: 23.84 kB / 351.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1064, allocations: 4 kB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.1064, allocations: 0 / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1065, allocations: 15.92 kB / 351.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1065, allocations: 27.81 kB / 351.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.1066, allocations: 51.8 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1066, allocations: 0 / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1066, allocations: 0 / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1066, allocations: 0 / 351.8 MB, free: 2.227 MB / 286.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.0004938/0.1071, allocations: 371.4 kB / 352.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1072, allocations: 12.03 kB / 352.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1072, allocations: 8.844 kB / 352.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1074, allocations: 188.2 kB / 352.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1074, allocations: 12.31 kB / 352.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1075, allocations: 4.375 kB / 352.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.1077, allocations: 109.3 kB / 352.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1077, allocations: 0 / 352.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1078, allocations: 4 kB / 352.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1078, allocations: 0 / 352.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.1079, allocations: 19.98 kB / 352.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.1082, allocations: 265.7 kB / 352.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.1082, allocations: 41.16 kB / 352.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1083, allocations: 29.7 kB / 352.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1083, allocations: 7.984 kB / 352.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1084, allocations: 38.5 kB / 352.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1084, allocations: 0 / 352.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.1086, allocations: 61.67 kB / 352.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1086, allocations: 89.3 kB / 353 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1088, allocations: 140.9 kB / 353.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1088, allocations: 25.7 kB / 353.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1088, allocations: 92.05 kB / 353.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1088, allocations: 3.938 kB / 353.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1089, allocations: 17.72 kB / 353.3 MB, free: 492 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.109, allocations: 314.8 kB / 353.6 MB, free: 168 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.109, allocations: 12 kB / 353.6 MB, free: 156 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.1091, allocations: 21.7 kB / 353.6 MB, free: 128 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.1091, allocations: 37.58 kB / 353.6 MB, free: 84 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1091, allocations: 0 / 353.6 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001076/0.1093, allocations: 53.72 kB / 353.7 MB, free: 24 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1093, allocations: 10.66 kB / 353.7 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1093, allocations: 0 / 353.7 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1093, allocations: 0 / 353.7 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.1094, allocations: 15.92 kB / 353.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.1094, allocations: 0 / 353.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.1095, allocations: 112 / 353.7 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1095, allocations: 7.938 kB / 353.7 MB, free: 15.99 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.651e-05/0.1095, allocations: 121.8 kB / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.1096, allocations: 41.61 kB / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.1096, allocations: 7.875 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1096, allocations: 0 / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1097, allocations: 4 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1097, allocations: 0 / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1098, allocations: 169.6 kB / 354.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1098, allocations: 0 / 354.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.1099, allocations: 7.984 kB / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1099, allocations: 4 kB / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1099, allocations: 0 / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1099, allocations: 0 / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1099, allocations: 4.031 kB / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.11, allocations: 164.2 kB / 354.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.1101, allocations: 93 kB / 354.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1101, allocations: 3.984 kB / 354.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.1102, allocations: 4 kB / 354.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.1102, allocations: 4.031 kB / 354.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1102, allocations: 3.938 kB / 354.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.1103, allocations: 111.2 kB / 354.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1103, allocations: 0 / 354.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1105, allocations: 4 kB / 354.5 MB, free: 15.15 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.645e-05/0.1106, allocations: 103.2 kB / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1107, allocations: 19.98 kB / 354.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1108, allocations: 4.062 kB / 354.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.1108, allocations: 15.98 kB / 354.6 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1112, allocations: 26.08 kB / 354.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.1115, allocations: 173.2 kB / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1117, allocations: 0.6926 MB / 355.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1118, allocations: 4 kB / 355.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.1118, allocations: 15.42 kB / 355.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1118, allocations: 0 / 355.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002325/0.1141, allocations: 478.3 kB / 356 MB, free: 13.58 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches