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.002101/0.002101, allocations: 197 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.678/1.678, allocations: 226.5 MB / 244.7 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008572/0.0008573, allocations: 96.58 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002609, allocations: 4 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001391/0.2688, allocations: 1.175 MB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.269, allocations: 32.45 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.269, allocations: 5.938 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.269, allocations: 0 / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.2691, allocations: 0 / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2694, allocations: 27.84 kB / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.2694, allocations: 27.92 kB / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2696, allocations: 12.52 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.2696, allocations: 12.59 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.2696, allocations: 10.03 kB / 409.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2697, allocations: 4 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.2697, allocations: 0 / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2697, allocations: 3.938 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.2697, allocations: 41.62 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.2698, allocations: 15.95 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2698, allocations: 0.5312 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2698, allocations: 5.812 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2698, allocations: 0 / 409.4 MB, free: 26.34 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.0003863/0.2702, allocations: 339.4 kB / 409.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2703, allocations: 8.031 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2703, allocations: 5.906 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2705, allocations: 181.2 kB / 409.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2705, allocations: 1 kB / 409.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2705, allocations: 4.375 kB / 409.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.2708, allocations: 125.4 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2709, allocations: 3.844 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2709, allocations: 3.938 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2709, allocations: 0 / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.271, allocations: 27.97 kB / 410.1 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.2711, allocations: 153.7 kB / 410.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2713, allocations: 58.58 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.941e-05/0.2713, allocations: 25.95 kB / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2714, allocations: 0 / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2714, allocations: 39.09 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2714, allocations: 4 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002812/0.2717, allocations: 89.5 kB / 410.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2717, allocations: 55.39 kB / 410.5 MB, free: 25.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.2718, allocations: 105.9 kB / 410.6 MB, free: 24.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.2718, allocations: 25.7 kB / 410.6 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.2718, allocations: 88.12 kB / 410.7 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.2719, allocations: 4 kB / 410.7 MB, free: 24.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.2719, allocations: 0 / 410.7 MB, free: 24.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.2719, allocations: 318.8 kB / 411 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.2719, allocations: 4 kB / 411.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.272, allocations: 35.36 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.272, allocations: 39.38 kB / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.272, allocations: 7.938 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.49e-05/0.2721, allocations: 61.56 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2721, allocations: 4 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2721, allocations: 3.938 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2721, allocations: 4 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2722, allocations: 4 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2722, allocations: 4 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2722, allocations: 7.906 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2722, allocations: 8.125 kB / 411.2 MB, free: 24.29 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.606e-05/0.2723, allocations: 117.8 kB / 411.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2724, allocations: 61.67 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.2725, allocations: 12.08 kB / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2725, allocations: 0 / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2725, allocations: 3.984 kB / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2725, allocations: 0 / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.007e-05/0.2726, allocations: 157.7 kB / 411.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2726, allocations: 0 / 411.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.2726, allocations: 16 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2726, allocations: 0 / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2726, allocations: 3.938 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2726, allocations: 4 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2727, allocations: 3.984 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.2728, allocations: 92.95 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.2728, allocations: 77.11 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2728, allocations: 7.938 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.2729, allocations: 7.984 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-06/0.2729, allocations: 4 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2729, allocations: 0 / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.2729, allocations: 87.66 kB / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2729, allocations: 0 / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.2731, allocations: 4 kB / 411.9 MB, free: 23.53 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 9.363e-05/0.2732, allocations: 95.25 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2733, allocations: 44.03 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2733, allocations: 0 / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.2733, allocations: 0 / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2737, allocations: 30.42 kB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.2739, allocations: 146.3 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.274, allocations: 0.6809 MB / 412.9 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.2741, allocations: 11.44 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2741, allocations: 4.062 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of Templates: time 0.001658/0.2757, allocations: 0.6166 MB / 413.5 MB, free: 21.84 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