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.001557/0.001557, allocations: 119.9 kB / 18.42 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 56.28 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002595/0.1094, allocations: 1.555 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.1103, allocations: 0.5726 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.1104, allocations: 3.938 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.1105, allocations: 7.922 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1106, allocations: 11.94 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1109, allocations: 63.73 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.111, allocations: 39.86 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.1111, allocations: 20.16 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1112, allocations: 39.84 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.1113, allocations: 15.92 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1113, allocations: 7.938 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.1114, allocations: 4 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.1114, allocations: 11.98 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1115, allocations: 27.81 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1116, allocations: 63.67 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1116, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1116, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1116, allocations: 0 / 361.3 MB, free: 10.89 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.0004696/0.1121, allocations: 383 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1122, allocations: 12.03 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1123, allocations: 20.83 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1125, allocations: 198.6 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1126, allocations: 4.375 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1126, allocations: 4.375 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1128, allocations: 117.1 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1129, allocations: 3.938 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1129, allocations: 0 / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1129, allocations: 0 / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.113, allocations: 19.98 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1133, allocations: 265.8 kB / 362.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1134, allocations: 49.14 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.1135, allocations: 17.78 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1135, allocations: 4 kB / 362.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1135, allocations: 38.55 kB / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1136, allocations: 0 / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002944/0.1139, allocations: 69.53 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1139, allocations: 85.03 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1141, allocations: 138.1 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1141, allocations: 29.7 kB / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.1141, allocations: 100 kB / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.1142, allocations: 3.984 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1142, allocations: 17.62 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.1143, allocations: 318.8 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/0.1143, allocations: 7.984 kB / 363.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.1144, allocations: 25.72 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.1145, allocations: 21.7 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1145, allocations: 3.938 kB / 363.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.1146, allocations: 61.61 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1146, allocations: 4 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1146, allocations: 0 / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1146, allocations: 4.125 kB / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.1147, allocations: 4 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1147, allocations: 4 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.453e-05/0.1148, allocations: 3.984 kB / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1148, allocations: 0 / 363.3 MB, free: 8.629 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 7.476e-05/0.1149, allocations: 129.7 kB / 363.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1149, allocations: 37.61 kB / 363.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.115, allocations: 15.81 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.115, allocations: 4.031 kB / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.115, allocations: 4 kB / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.115, allocations: 0 / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1151, allocations: 169.6 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1151, allocations: 0 / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.1152, allocations: 4 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1152, allocations: 4 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1152, allocations: 3.984 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1152, allocations: 0 / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1152, allocations: 0 / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.1154, allocations: 168.2 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1155, allocations: 93 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1155, allocations: 0 / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.1155, allocations: 7.984 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.1156, allocations: 0 / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1156, allocations: 0 / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.1157, allocations: 118.4 kB / 364.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1157, allocations: 0 / 364.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1159, allocations: 4 kB / 364.1 MB, free: 7.777 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.0001004/0.116, allocations: 95.25 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1161, allocations: 23.92 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1161, allocations: 0 / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.1162, allocations: 12.12 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1165, allocations: 27.89 kB / 364.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1168, allocations: 163.3 kB / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1171, allocations: 0.6923 MB / 365.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.1172, allocations: 4 kB / 365.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.1172, allocations: 15.59 kB / 365.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1172, allocations: 0 / 365.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of Templates: time 0.002464/0.1197, allocations: 0.5217 MB / 365.6 MB, free: 6.172 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 -s cvode -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