Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.6 MB / 244.7 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007795/0.0007796, allocations: 100.4 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002323/0.0002323, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 51.29 MB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001324/0.2149, allocations: 1.259 MB / 409.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006319/0.2156, allocations: 0.4953 MB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.2157, allocations: 3.938 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.2157, allocations: 0.8438 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2159, allocations: 16.77 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2161, allocations: 35.91 kB / 409.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.2162, allocations: 48.23 kB / 409.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.2163, allocations: 17.86 kB / 409.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.602e-05/0.2164, allocations: 19.91 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.2165, allocations: 15.94 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2165, allocations: 0.875 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.2166, allocations: 4 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.2166, allocations: 17.2 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2166, allocations: 49.5 kB / 410 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.2167, allocations: 35.94 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2167, allocations: 5.922 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2168, allocations: 0 / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.2168, allocations: 0 / 410.1 MB, free: 25.7 MB / 298.7 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.0003984/0.2172, allocations: 367.5 kB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2172, allocations: 12.03 kB / 410.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.2174, allocations: 16.84 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2175, allocations: 198.5 kB / 410.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2175, allocations: 8.312 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2175, allocations: 4.312 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2178, allocations: 117.3 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2178, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2178, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2178, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.2179, allocations: 27.98 kB / 410.8 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.2182, allocations: 257.7 kB / 411.1 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.2182, allocations: 49.16 kB / 411.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.2183, allocations: 33.77 kB / 411.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2183, allocations: 0 / 411.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2183, allocations: 34.5 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2183, allocations: 0 / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.2186, allocations: 73.8 kB / 411.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2186, allocations: 81.05 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.2187, allocations: 142.1 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.2187, allocations: 29.7 kB / 411.5 MB, free: 24.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.2187, allocations: 84.14 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.2188, allocations: 0 / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.2188, allocations: 0 / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.2188, allocations: 326.9 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.2189, allocations: 4 kB / 411.9 MB, free: 23.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.2189, allocations: 21.7 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.219, allocations: 41.7 kB / 412 MB, free: 23.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.219, allocations: 0 / 412 MB, free: 23.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.2191, allocations: 61.53 kB / 412 MB, free: 23.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2191, allocations: 4 kB / 412 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2191, allocations: 4 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2191, allocations: 0 / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.2192, allocations: 7.984 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2192, allocations: 4.062 kB / 412 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.2193, allocations: 4 kB / 412 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2193, allocations: 0 / 412 MB, free: 23.47 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.2193, allocations: 121.7 kB / 412.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2194, allocations: 49.59 kB / 412.2 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2194, allocations: 7.875 kB / 412.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2194, allocations: 3.938 kB / 412.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2194, allocations: 3.984 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2194, allocations: 8.031 kB / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2196, allocations: 173.5 kB / 412.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2196, allocations: 0 / 412.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2196, allocations: 11.92 kB / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2196, allocations: 4 kB / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2196, allocations: 0 / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2196, allocations: 0 / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2197, allocations: 0 / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2198, allocations: 172.3 kB / 412.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2198, allocations: 85.02 kB / 412.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2198, allocations: 3.984 kB / 412.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.2199, allocations: 4 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.2199, allocations: 4 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.22, allocations: 0 / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.22, allocations: 118.2 kB / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.22, allocations: 0 / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.2202, allocations: 4 kB / 412.8 MB, free: 22.6 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.968e-05/0.2203, allocations: 95.25 kB / 412.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.2204, allocations: 27.92 kB / 412.9 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2204, allocations: 4.125 kB / 412.9 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.2205, allocations: 11.98 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2208, allocations: 19.72 kB / 413 MB, free: 22.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.2211, allocations: 218.9 kB / 413.2 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2212, allocations: 0.6887 MB / 413.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2213, allocations: 11.42 kB / 413.9 MB, free: 21.46 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2213, allocations: 0 / 413.9 MB, free: 21.46 MB / 298.7 MB Notification: Performance of Templates: time 0.001644/0.2229, allocations: 0.7073 MB / 414.6 MB, free: 20.76 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches