Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.83 kB / 307.6 MB, free: 0.6758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09, allocations: 50.52 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003062/0.0931, allocations: 1.697 MB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.09357, allocations: 167.4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.09367, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.09374, allocations: 11.86 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.09387, allocations: 11.94 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.09411, allocations: 47.83 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.09422, allocations: 51.89 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.09435, allocations: 31.97 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.0944, allocations: 23.88 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.09445, allocations: 23.84 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.09448, allocations: 8 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.0945, allocations: 4 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.09456, allocations: 15.94 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.0946, allocations: 39.72 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.09472, allocations: 63.73 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.09473, allocations: 4 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09474, allocations: 7.938 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.09475, allocations: 0 / 360.3 MB, free: 11.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004533/0.09521, allocations: 391.3 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.09525, allocations: 12.03 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.0953, allocations: 8.844 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.09549, allocations: 195.4 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.0955, allocations: 384 / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.09552, allocations: 8.375 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.09587, allocations: 170.3 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.09589, allocations: 4.188 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.09591, allocations: 3.938 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09592, allocations: 0 / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.09604, allocations: 43.91 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.09642, allocations: 361.8 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.09666, allocations: 123.7 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.09677, allocations: 58.67 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.09679, allocations: 8.141 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.09682, allocations: 34.56 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.09683, allocations: 0 / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000312/0.09715, allocations: 121.4 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.09722, allocations: 114.8 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.09733, allocations: 133.8 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.09735, allocations: 25.7 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.09741, allocations: 96.38 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.09743, allocations: 7.906 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.09747, allocations: 25.72 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.09757, allocations: 318.8 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.09763, allocations: 15.98 kB / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.09771, allocations: 71.66 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.09784, allocations: 95.59 kB / 362.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.09785, allocations: 3.938 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.09804, allocations: 105.6 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.09806, allocations: 8 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.09808, allocations: 3.984 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.0981, allocations: 4 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.09817, allocations: 16 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.09818, allocations: 4 kB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.09824, allocations: 11.98 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.09826, allocations: 7.984 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 8.472e-05/0.09834, allocations: 133.6 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.09848, allocations: 81.83 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.09852, allocations: 16.72 kB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.09853, allocations: 7.984 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.09854, allocations: 0 / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.09855, allocations: 3.938 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.09878, allocations: 185.6 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.09879, allocations: 0 / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.09887, allocations: 23.92 kB / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.09888, allocations: 0 / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.0989, allocations: 0 / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.09891, allocations: 8.078 kB / 363.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.09892, allocations: 3.984 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.09925, allocations: 316.4 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.09932, allocations: 101 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.09934, allocations: 7.938 kB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.09945, allocations: 4 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.09948, allocations: 0 / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.0995, allocations: 4 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.633e-05/0.09958, allocations: 109.9 kB / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09958, allocations: 0 / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.09988, allocations: 12 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 9.281e-05/0.09998, allocations: 103.2 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1002, allocations: 67.84 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1002, allocations: 0 / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.1002, allocations: 19.92 kB / 364.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.1007, allocations: 36.02 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.1011, allocations: 230 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1013, allocations: 0.7057 MB / 365 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1014, allocations: 11.44 kB / 365.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1014, allocations: 4 kB / 365.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Templates: time 0.002245/0.1036, allocations: 0.9062 MB / 366 MB, free: 5.789 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches