Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 192.5 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.4/1.4, allocations: 226.5 MB / 244.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007989/0.000799, allocations: 100.7 kB / 296.8 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.0002331, allocations: 8 kB / 356.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2103, allocations: 51.31 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001541/0.2119, allocations: 1.534 MB / 409.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.2127, allocations: 0.6063 MB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2128, allocations: 7.938 kB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.2129, allocations: 15.86 kB / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.213, allocations: 21.22 kB / 410.2 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2133, allocations: 75.86 kB / 410.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2135, allocations: 127.5 kB / 410.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2136, allocations: 66.17 kB / 410.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2137, allocations: 47.77 kB / 410.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.2138, allocations: 35.73 kB / 410.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2138, allocations: 4 kB / 410.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.2139, allocations: 8.781 kB / 410.6 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.2139, allocations: 19.92 kB / 410.6 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.214, allocations: 78.16 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2141, allocations: 103.7 kB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2141, allocations: 2.688 kB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2141, allocations: 0 / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2141, allocations: 0 / 410.8 MB, free: 24.93 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004195/0.2145, allocations: 428.1 kB / 411.2 MB, free: 24.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2146, allocations: 13.28 kB / 411.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2147, allocations: 28.73 kB / 411.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.215, allocations: 241 kB / 411.5 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.215, allocations: 12.12 kB / 411.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.215, allocations: 8 kB / 411.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.2155, allocations: 289.2 kB / 411.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2155, allocations: 3.938 kB / 411.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2155, allocations: 8 kB / 411.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2155, allocations: 0 / 411.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2157, allocations: 83.89 kB / 411.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.216, allocations: 431.4 kB / 412.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.2164, allocations: 302.1 kB / 412.6 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2165, allocations: 124.3 kB / 412.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2166, allocations: 7.984 kB / 412.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.2166, allocations: 38.56 kB / 412.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.2166, allocations: 0 / 412.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004561/0.2171, allocations: 237.7 kB / 413 MB, free: 22.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.2171, allocations: 199.9 kB / 413.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2173, allocations: 175.7 kB / 413.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2173, allocations: 33.7 kB / 413.4 MB, free: 22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2173, allocations: 100.1 kB / 413.5 MB, free: 21.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2173, allocations: 11.98 kB / 413.5 MB, free: 21.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2173, allocations: 15.94 kB / 413.5 MB, free: 21.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.2174, allocations: 318.8 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.2175, allocations: 27.98 kB / 413.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.2175, allocations: 129.2 kB / 414 MB, free: 21.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2177, allocations: 169.5 kB / 414.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2177, allocations: 4 kB / 414.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002101/0.2179, allocations: 165.2 kB / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2179, allocations: 11.94 kB / 414.3 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2179, allocations: 4.5 kB / 414.3 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.218, allocations: 8 kB / 414.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2181, allocations: 35.91 kB / 414.4 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2181, allocations: 11.94 kB / 414.4 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.2182, allocations: 19.84 kB / 414.4 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.2182, allocations: 8 kB / 414.4 MB, free: 20.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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 7.333e-05/0.2183, allocations: 129.8 kB / 414.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.2185, allocations: 161.5 kB / 414.7 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.2186, allocations: 21.39 kB / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2186, allocations: 4 kB / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2186, allocations: 0 / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2186, allocations: 0 / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.2188, allocations: 213.5 kB / 414.9 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2188, allocations: 0 / 414.9 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2189, allocations: 51.94 kB / 415 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2189, allocations: 7.938 kB / 415 MB, free: 20.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.219, allocations: 0 / 415 MB, free: 20.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.219, allocations: 8 kB / 415 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.219, allocations: 0 / 415 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.2193, allocations: 369 kB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.2193, allocations: 112.9 kB / 415.5 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.2194, allocations: 11.88 kB / 415.5 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2195, allocations: 19.98 kB / 415.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.2195, allocations: 4 kB / 415.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2196, allocations: 4 kB / 415.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.2196, allocations: 133.2 kB / 415.6 MB, free: 19.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2196, allocations: 0 / 415.6 MB, free: 19.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.2199, allocations: 24 kB / 415.7 MB, free: 19.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.029e-05/0.22, allocations: 107.2 kB / 415.8 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2203, allocations: 116.7 kB / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2203, allocations: 0 / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.2203, allocations: 20 kB / 415.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.2209, allocations: 110.3 kB / 416 MB, free: 19.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.2215, allocations: 438.9 kB / 416.4 MB, free: 18.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2217, allocations: 0.728 MB / 417.2 MB, free: 17.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.2217, allocations: 19.42 kB / 417.2 MB, free: 17.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2217, allocations: 0 / 417.2 MB, free: 17.91 MB / 298.7 MB Notification: Performance of Templates: time 0.002431/0.2242, allocations: 1.732 MB / 418.9 MB, free: 16.19 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches