Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 196.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.6 MB / 244.3 MB, free: 6.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008633/0.0008633, allocations: 103.7 kB / 296.4 MB, free: 6.793 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002122, allocations: 11.98 kB / 356.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2244, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001269/0.2257, allocations: 1.167 MB / 408.7 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.2259, allocations: 39.84 kB / 408.7 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.226, allocations: 4 kB / 408.7 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.226, allocations: 0 / 408.7 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.226, allocations: 7.922 kB / 408.7 MB, free: 26.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2263, allocations: 24.36 kB / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.2264, allocations: 23.92 kB / 408.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.2265, allocations: 15.97 kB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.2265, allocations: 4 kB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.2266, allocations: 15.92 kB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2266, allocations: 0.9062 kB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.2266, allocations: 4 kB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2266, allocations: 8.484 kB / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.2266, allocations: 25.7 kB / 408.8 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.286e-05/0.2267, allocations: 20.81 kB / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2267, allocations: 0 / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2267, allocations: 1.875 kB / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.2267, allocations: 3.938 kB / 408.9 MB, free: 26.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003056/0.227, allocations: 335.3 kB / 409.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2271, allocations: 8.031 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.2271, allocations: 9.188 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2273, allocations: 175.9 kB / 409.4 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2273, allocations: 11.94 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2273, allocations: 3.031 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.2276, allocations: 127.2 kB / 409.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2276, allocations: 0 / 409.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2277, allocations: 0 / 409.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2277, allocations: 4 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2278, allocations: 29.44 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.514e-05/0.2279, allocations: 153.7 kB / 409.7 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.228, allocations: 65.98 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.2281, allocations: 24.92 kB / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.2281, allocations: 0 / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.2281, allocations: 38.52 kB / 409.8 MB, free: 25.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2281, allocations: 0 / 409.8 MB, free: 25.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.2284, allocations: 77.66 kB / 409.9 MB, free: 25.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2284, allocations: 59.39 kB / 410 MB, free: 25.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.2285, allocations: 105.8 kB / 410.1 MB, free: 25.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.2285, allocations: 29.7 kB / 410.1 MB, free: 25.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.2285, allocations: 88.12 kB / 410.2 MB, free: 24.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.2286, allocations: 3.906 kB / 410.2 MB, free: 24.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2286, allocations: 4 kB / 410.2 MB, free: 24.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.2286, allocations: 314.8 kB / 410.5 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.2286, allocations: 4 kB / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.2287, allocations: 35.42 kB / 410.5 MB, free: 24.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.2287, allocations: 12 kB / 410.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2287, allocations: 0 / 410.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.322e-05/0.2288, allocations: 53.62 kB / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2288, allocations: 16.06 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2288, allocations: 3.953 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2288, allocations: 0 / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.2289, allocations: 8 kB / 410.6 MB, free: 24.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2289, allocations: 4 kB / 410.6 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.2289, allocations: 4.375 kB / 410.6 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2289, allocations: 4 kB / 410.6 MB, free: 24.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.073e-05/0.229, allocations: 109.8 kB / 410.7 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2291, allocations: 81.67 kB / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.2291, allocations: 7.906 kB / 410.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2291, allocations: 7.953 kB / 410.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2292, allocations: 0 / 410.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2292, allocations: 0 / 410.8 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.162e-05/0.2292, allocations: 161.7 kB / 411 MB, free: 24.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2292, allocations: 3.938 kB / 411 MB, free: 24.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.2293, allocations: 8 kB / 411 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2293, allocations: 0 / 411 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2293, allocations: 0 / 411 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2293, allocations: 0 / 411 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2293, allocations: 3.953 kB / 411 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2295, allocations: 97.09 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.2295, allocations: 81.02 kB / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2295, allocations: 0 / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.2295, allocations: 7.984 kB / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.2296, allocations: 3.938 kB / 411.2 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2296, allocations: 7.953 kB / 411.2 MB, free: 23.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.2296, allocations: 87.22 kB / 411.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2296, allocations: 4 kB / 411.3 MB, free: 23.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.2298, allocations: 4 kB / 411.3 MB, free: 23.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.563e-05/0.2299, allocations: 95.25 kB / 411.4 MB, free: 23.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.23, allocations: 35.91 kB / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.23, allocations: 4 kB / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.23, allocations: 0 / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2303, allocations: 24.02 kB / 411.5 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.2305, allocations: 146.7 kB / 411.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2307, allocations: 0.6809 MB / 412.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2307, allocations: 11.44 kB / 412.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2307, allocations: 0 / 412.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of Templates: time 0.001693/0.2324, allocations: 0.6221 MB / 412.9 MB, free: 22.01 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches