Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000782/0.0007821, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009146/0.0009147, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.122/1.122, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001821/0.0001821, allocations: 8 kB / 307.7 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07405, allocations: 51.51 MB / 359.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001401/0.07549, allocations: 1.27 MB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.07578, allocations: 135.6 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.07585, allocations: 3.938 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.07588, allocations: 0 / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.07598, allocations: 11.92 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.07618, allocations: 39.89 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.549e-05/0.07625, allocations: 31.86 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.07634, allocations: 23.92 kB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.07637, allocations: 7.938 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.0764, allocations: 19.91 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.07642, allocations: 0 / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.07644, allocations: 4 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.07648, allocations: 7.938 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.07652, allocations: 49.5 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.121e-05/0.0766, allocations: 35.81 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.07661, allocations: 0 / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.07661, allocations: 4 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.07662, allocations: 0 / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003347/0.07696, allocations: 359.6 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.07699, allocations: 8.031 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.07703, allocations: 16.83 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.07717, allocations: 190.6 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.07719, allocations: 384 / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.0772, allocations: 8.375 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.07744, allocations: 121.6 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-06/0.07745, allocations: 192 / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.07747, allocations: 7.938 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.07748, allocations: 0 / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.07756, allocations: 31.92 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.07781, allocations: 253.8 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.07799, allocations: 146.2 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.07805, allocations: 33.77 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.07808, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.0781, allocations: 34.5 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.07811, allocations: 0 / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.07831, allocations: 85.52 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.07836, allocations: 85.11 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.07846, allocations: 130.1 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.07848, allocations: 29.7 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.07852, allocations: 84.14 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.07854, allocations: 15.97 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.07856, allocations: 9.719 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.07865, allocations: 318.8 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.07869, allocations: 11.94 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.07874, allocations: 39.36 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.07882, allocations: 47.42 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.07883, allocations: 0 / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.07896, allocations: 77.5 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.07898, allocations: 11.12 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.07899, allocations: 0 / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.079, allocations: 3.984 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.07905, allocations: 8 kB / 363 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.07906, allocations: 4 kB / 363 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.0791, allocations: 4 kB / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.07911, allocations: 288 / 363 MB, free: 8.988 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.07918, allocations: 129.8 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.07925, allocations: 53.53 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.07928, allocations: 16.23 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.07929, allocations: 0 / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.0793, allocations: 0 / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.07931, allocations: 4 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.07945, allocations: 169.6 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.07946, allocations: 0 / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.0795, allocations: 8 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.07951, allocations: 4 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.07952, allocations: 3.984 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.07953, allocations: 4 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.07953, allocations: 0 / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.07968, allocations: 168.2 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.07974, allocations: 100.9 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.07975, allocations: 7.984 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.07981, allocations: 4 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.07984, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.07984, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.07991, allocations: 105.9 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07991, allocations: 0 / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.08011, allocations: 4 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.064e-05/0.08019, allocations: 106.7 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.0803, allocations: 31.92 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.08031, allocations: 0 / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.08035, allocations: 12 kB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.08063, allocations: 27.89 kB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.08088, allocations: 169.9 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.0811, allocations: 0.6926 MB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.08113, allocations: 4.25 kB / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.08115, allocations: 15.44 kB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.08115, allocations: 0 / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of Templates: time 0.001971/0.08313, allocations: 448.1 kB / 365.3 MB, free: 6.562 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches