Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 109.1 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3029, allocations: 49.43 MB / 400.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003541/0.3066, allocations: 1.696 MB / 402.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.3071, allocations: 155.4 kB / 402.6 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3072, allocations: 4 kB / 402.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.3073, allocations: 15.8 kB / 402.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.3074, allocations: 11.92 kB / 402.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3077, allocations: 51.83 kB / 402.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3079, allocations: 47.91 kB / 402.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.308, allocations: 27.98 kB / 402.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.3081, allocations: 23.86 kB / 402.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.3081, allocations: 23.86 kB / 402.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3082, allocations: 8 kB / 402.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.3082, allocations: 4 kB / 402.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.3082, allocations: 23.91 kB / 402.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.3083, allocations: 31.75 kB / 402.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.3084, allocations: 79.59 kB / 402.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3084, allocations: 0 / 402.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3084, allocations: 0 / 402.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3084, allocations: 0 / 402.9 MB, free: 6.824 MB / 318.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.0004718/0.3089, allocations: 388.4 kB / 403.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.309, allocations: 8.031 kB / 403.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.309, allocations: 8.844 kB / 403.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3092, allocations: 200 kB / 403.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3093, allocations: 12.38 kB / 403.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3093, allocations: 8.312 kB / 403.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3096, allocations: 158.4 kB / 403.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3096, allocations: 192 / 403.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3096, allocations: 15.94 kB / 403.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3097, allocations: 0 / 403.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3098, allocations: 35.92 kB / 403.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.3101, allocations: 369.8 kB / 404.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.3104, allocations: 119.8 kB / 404.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3105, allocations: 54.69 kB / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3105, allocations: 0 / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3106, allocations: 42.56 kB / 404.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.3106, allocations: 0 / 404.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003532/0.3109, allocations: 121.4 kB / 404.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3111, allocations: 110.8 kB / 404.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3112, allocations: 140.2 kB / 404.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3112, allocations: 29.95 kB / 404.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3113, allocations: 84.14 kB / 404.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3113, allocations: 19.98 kB / 404.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.3114, allocations: 25.62 kB / 404.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3115, allocations: 318.8 kB / 405.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.3116, allocations: 12 kB / 405.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.3117, allocations: 75.66 kB / 405.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3118, allocations: 99.52 kB / 405.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3118, allocations: 0 / 405.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.312, allocations: 105.6 kB / 405.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.312, allocations: 8 kB / 405.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3121, allocations: 4.125 kB / 405.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3121, allocations: 4 kB / 405.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.3122, allocations: 23.92 kB / 405.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3122, allocations: 3.938 kB / 405.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.3122, allocations: 7.906 kB / 405.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3122, allocations: 8 kB / 405.5 MB, free: 3.922 MB / 318.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 0.0001098/0.3124, allocations: 130 kB / 405.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3125, allocations: 85.81 kB / 405.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.3125, allocations: 12.72 kB / 405.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3125, allocations: 0 / 405.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.3126, allocations: 4 kB / 405.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3126, allocations: 3.984 kB / 405.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3128, allocations: 189.5 kB / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3128, allocations: 0 / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.3129, allocations: 19.98 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3129, allocations: 4 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3129, allocations: 8 kB / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3129, allocations: 0 / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3129, allocations: 3.984 kB / 405.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3134, allocations: 316.1 kB / 406.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.3134, allocations: 97 kB / 406.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3135, allocations: 7.938 kB / 406.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.3136, allocations: 7.984 kB / 406.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3136, allocations: 0 / 406.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3136, allocations: 4 kB / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.354e-05/0.3137, allocations: 106.4 kB / 406.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 406.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.314, allocations: 12 kB / 406.5 MB, free: 2.824 MB / 318.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 0.0001493/0.3141, allocations: 111.9 kB / 406.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3144, allocations: 63.91 kB / 406.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3144, allocations: 0 / 406.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.3144, allocations: 11.94 kB / 406.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3149, allocations: 44.8 kB / 406.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.3153, allocations: 214.2 kB / 406.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3156, allocations: 0.7002 MB / 407.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.3156, allocations: 8.609 kB / 407.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3157, allocations: 11.44 kB / 407.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3157, allocations: 4 kB / 407.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Templates: time 0.003077/0.3188, allocations: 0.6956 MB / 408.3 MB, free: 0.8984 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches