Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 195.5 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.731/1.731, allocations: 226.5 MB / 244.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007874, allocations: 101.1 kB / 296.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002145, allocations: 11.98 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2127, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001341/0.2141, allocations: 1.144 MB / 409.2 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.2143, allocations: 35.84 kB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.2144, allocations: 4 kB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2144, allocations: 0 / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.2144, allocations: 1.406 kB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2147, allocations: 23.91 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.2148, allocations: 23.92 kB / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2149, allocations: 10.44 kB / 409.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.2149, allocations: 7.984 kB / 409.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.215, allocations: 7.938 kB / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.215, allocations: 0 / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.215, allocations: 4 kB / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2151, allocations: 11.92 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.2151, allocations: 39.16 kB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.086e-05/0.2152, allocations: 15.97 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2152, allocations: 3.938 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2152, allocations: 0 / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2152, allocations: 1.469 kB / 409.4 MB, free: 26.37 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.0003598/0.2156, allocations: 335.5 kB / 409.7 MB, free: 25.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2156, allocations: 12.03 kB / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.2157, allocations: 2.156 kB / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2158, allocations: 181.1 kB / 409.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2158, allocations: 8.375 kB / 409.9 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2158, allocations: 0.9062 kB / 409.9 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2162, allocations: 133.2 kB / 410 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2162, allocations: 0.6875 kB / 410 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2162, allocations: 8.5 kB / 410 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2162, allocations: 5.484 kB / 410 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2163, allocations: 27.97 kB / 410.1 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.2164, allocations: 153.7 kB / 410.2 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2166, allocations: 57.64 kB / 410.3 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.2167, allocations: 24.92 kB / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2167, allocations: 4 kB / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.2167, allocations: 34.5 kB / 410.3 MB, free: 25.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2167, allocations: 0 / 410.3 MB, free: 25.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.217, allocations: 87.72 kB / 410.4 MB, free: 25.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.217, allocations: 63.39 kB / 410.5 MB, free: 25.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.2171, allocations: 97.86 kB / 410.6 MB, free: 24.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.2171, allocations: 29.7 kB / 410.6 MB, free: 24.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.2171, allocations: 88.12 kB / 410.7 MB, free: 24.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.2171, allocations: 4 kB / 410.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.2171, allocations: 0 / 410.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.2172, allocations: 314.8 kB / 411 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.2172, allocations: 4 kB / 411 MB, free: 24.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.2172, allocations: 35.36 kB / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.2173, allocations: 43.38 kB / 411.1 MB, free: 24.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2173, allocations: 4 kB / 411.1 MB, free: 24.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.737e-05/0.2174, allocations: 53.62 kB / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2174, allocations: 8 kB / 411.2 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2174, allocations: 3.938 kB / 411.2 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2174, allocations: 4.125 kB / 411.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.2175, allocations: 11.94 kB / 411.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2175, allocations: 0 / 411.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.2175, allocations: 7.906 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2175, allocations: 0 / 411.2 MB, free: 24.32 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 6.114e-05/0.2176, allocations: 125.7 kB / 411.3 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2177, allocations: 66.05 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.2178, allocations: 7.844 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2178, allocations: 0 / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2178, allocations: 8 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2178, allocations: 4 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.736e-05/0.2179, allocations: 157.7 kB / 411.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2179, allocations: 0 / 411.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.2179, allocations: 8 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2179, allocations: 0 / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.2179, allocations: 3.938 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2179, allocations: 0 / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2179, allocations: 3.984 kB / 411.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2181, allocations: 105.2 kB / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.2181, allocations: 81.14 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2181, allocations: 3.938 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.2182, allocations: 7.984 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-06/0.2182, allocations: 0 / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2182, allocations: 4 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.2182, allocations: 83.28 kB / 411.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2182, allocations: 0 / 411.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.2184, allocations: 4 kB / 411.8 MB, free: 23.55 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: 4 (assignClock1.u,assignClock1.y,step.y,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.334e-05/0.2185, allocations: 99.25 kB / 411.9 MB, free: 23.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.2186, allocations: 31.91 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2186, allocations: 4 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2186, allocations: 0 / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2189, allocations: 28.02 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.2192, allocations: 154.5 kB / 412.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2194, allocations: 0.6809 MB / 412.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2194, allocations: 11.44 kB / 412.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2194, allocations: 0 / 412.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001705/0.2211, allocations: 0.6135 MB / 413.5 MB, free: 21.87 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches