Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000996/0.000996, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008574/0.0008574, allocations: 95.84 kB / 296.4 MB, free: 7.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002157/0.0002158, allocations: 8 kB / 356.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2196, allocations: 51.3 MB / 407.5 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001921/0.2216, allocations: 1.177 MB / 408.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.222, allocations: 103.8 kB / 408.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2221, allocations: 3.938 kB / 408.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.2221, allocations: 3.984 kB / 408.8 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.2222, allocations: 4.688 kB / 408.8 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.2225, allocations: 15.94 kB / 408.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.2226, allocations: 32.56 kB / 408.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2227, allocations: 6 kB / 408.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.2227, allocations: 11.92 kB / 408.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.2228, allocations: 7.938 kB / 408.9 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2228, allocations: 4 kB / 408.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.2228, allocations: 0 / 408.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2229, allocations: 0.8125 kB / 408.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.2229, allocations: 33.64 kB / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.689e-05/0.223, allocations: 18.44 kB / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.223, allocations: 0 / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.223, allocations: 0 / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.223, allocations: 0 / 408.9 MB, free: 26.45 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.0004087/0.2234, allocations: 336.3 kB / 409.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2235, allocations: 8.625 kB / 409.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2236, allocations: 4 kB / 409.3 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2237, allocations: 188 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2238, allocations: 4 kB / 409.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2238, allocations: 6.5 kB / 409.5 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.2242, allocations: 112.8 kB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2243, allocations: 0 / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2243, allocations: 3.984 kB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2243, allocations: 7.5 kB / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2245, allocations: 19.98 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2246, allocations: 153.7 kB / 409.7 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2248, allocations: 66.48 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.2249, allocations: 24.92 kB / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.225, allocations: 3.938 kB / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.225, allocations: 38.52 kB / 409.9 MB, free: 25.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.2251, allocations: 0 / 409.9 MB, free: 25.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003014/0.2254, allocations: 73.67 kB / 410 MB, free: 25.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2254, allocations: 63.34 kB / 410 MB, free: 25.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.2255, allocations: 101.8 kB / 410.1 MB, free: 25.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.2255, allocations: 29.7 kB / 410.1 MB, free: 25.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.2256, allocations: 80.14 kB / 410.2 MB, free: 24.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.2256, allocations: 0 / 410.2 MB, free: 24.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.2256, allocations: 4 kB / 410.2 MB, free: 24.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.2257, allocations: 318.8 kB / 410.5 MB, free: 24.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.2257, allocations: 4 kB / 410.5 MB, free: 24.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.2257, allocations: 31.61 kB / 410.6 MB, free: 24.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.2258, allocations: 4 kB / 410.6 MB, free: 24.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2258, allocations: 0 / 410.6 MB, free: 24.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.902e-05/0.2259, allocations: 65.47 kB / 410.6 MB, free: 24.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2259, allocations: 4 kB / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2259, allocations: 11.89 kB / 410.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.226, allocations: 0 / 410.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.226, allocations: 8 kB / 410.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2261, allocations: 0 / 410.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.2261, allocations: 7.984 kB / 410.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.2261, allocations: 4 kB / 410.7 MB, free: 24.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.517e-05/0.2262, allocations: 110 kB / 410.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2264, allocations: 65.62 kB / 410.8 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2264, allocations: 3.906 kB / 410.8 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2264, allocations: 3.953 kB / 410.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2264, allocations: 3.984 kB / 410.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2264, allocations: 0 / 410.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/0.2265, allocations: 157.6 kB / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2265, allocations: 0 / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.2266, allocations: 12 kB / 411 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2266, allocations: 0 / 411 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2267, allocations: 7.984 kB / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2267, allocations: 0 / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2267, allocations: 3.953 kB / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2269, allocations: 81.38 kB / 411.1 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.2269, allocations: 93.03 kB / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.227, allocations: 4 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.227, allocations: 7.938 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.227, allocations: 0 / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.227, allocations: 3.953 kB / 411.2 MB, free: 23.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.2271, allocations: 91.2 kB / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2271, allocations: 0 / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.2274, allocations: 4 kB / 411.3 MB, free: 23.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.693e-05/0.2275, allocations: 99.25 kB / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2277, allocations: 27.92 kB / 411.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2277, allocations: 0 / 411.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.2277, allocations: 4 kB / 411.4 MB, free: 23.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.228, allocations: 16 kB / 411.5 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2284, allocations: 158.5 kB / 411.6 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.2285, allocations: 0.6809 MB / 412.3 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.2286, allocations: 11.44 kB / 412.3 MB, free: 22.66 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2286, allocations: 0 / 412.3 MB, free: 22.66 MB / 298.7 MB Notification: Performance of Templates: time 0.002175/0.2307, allocations: 0.5206 MB / 412.8 MB, free: 22.14 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches