Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 108.4 kB / 21.93 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002507/0.002507, allocations: 214 kB / 25.23 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 51.92 kB / 348.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002721/0.2854, allocations: 1.651 MB / 399.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.2863, allocations: 0.5023 MB / 399.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.2863, allocations: 5.344 kB / 399.7 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2864, allocations: 10.55 kB / 399.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.2866, allocations: 24.56 kB / 399.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2868, allocations: 47.75 kB / 399.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.287, allocations: 102 kB / 399.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2871, allocations: 24.67 kB / 399.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.2872, allocations: 45.73 kB / 400 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.2873, allocations: 44.27 kB / 400 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.2873, allocations: 10.36 kB / 400 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.2873, allocations: 6.688 kB / 400.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.2874, allocations: 20.03 kB / 400.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.2874, allocations: 33 kB / 400.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2875, allocations: 86.28 kB / 400.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2876, allocations: 0 / 400.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2876, allocations: 0 / 400.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2876, allocations: 1.078 kB / 400.2 MB, free: 7.684 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.0004932/0.2881, allocations: 343 kB / 400.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2881, allocations: 12.95 kB / 400.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.2881, allocations: 18.28 kB / 400.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.2884, allocations: 141 kB / 400.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2884, allocations: 3.969 kB / 400.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.2884, allocations: 12.09 kB / 400.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.2886, allocations: 81.97 kB / 400.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2886, allocations: 0 / 400.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2886, allocations: 0.9688 kB / 400.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2886, allocations: 2.812 kB / 400.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.2887, allocations: 44.31 kB / 400.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.2892, allocations: 286.9 kB / 401.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.2893, allocations: 58.31 kB / 401.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.2894, allocations: 27.66 kB / 401.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2894, allocations: 5.953 kB / 401.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.2894, allocations: 35.84 kB / 401.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2894, allocations: 0 / 401.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002809/0.2897, allocations: 105.3 kB / 401.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.2897, allocations: 56.78 kB / 401.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2898, allocations: 143.5 kB / 401.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.2899, allocations: 25.7 kB / 401.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.2899, allocations: 109.7 kB / 401.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2899, allocations: 24.38 kB / 401.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.29, allocations: 20.56 kB / 401.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.29, allocations: 320 kB / 402 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.2901, allocations: 22.02 kB / 402 MB, free: 6.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.2901, allocations: 22.25 kB / 402.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2902, allocations: 53.19 kB / 402.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2902, allocations: 0 / 402.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.2904, allocations: 86.47 kB / 402.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2904, allocations: 8.812 kB / 402.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2904, allocations: 0.5156 kB / 402.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2904, allocations: 1.219 kB / 402.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2907, allocations: 40.44 kB / 402.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2907, allocations: 9.797 kB / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.2907, allocations: 2.828 kB / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2907, allocations: 1.75 kB / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 5.435e-05/0.2908, allocations: 119.4 kB / 402.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2908, allocations: 16.06 kB / 402.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.2908, allocations: 11.98 kB / 402.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2908, allocations: 5.141 kB / 402.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2908, allocations: 1.125 kB / 402.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2908, allocations: 0.6094 kB / 402.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.291, allocations: 130.8 kB / 402.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.291, allocations: 5.156 kB / 402.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.2911, allocations: 25.22 kB / 402.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2911, allocations: 1.281 kB / 402.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2911, allocations: 4.688 kB / 402.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2911, allocations: 1.859 kB / 402.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2911, allocations: 0 / 402.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2914, allocations: 198.7 kB / 402.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.2914, allocations: 12.41 kB / 402.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2914, allocations: 6.25 kB / 402.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.2915, allocations: 10.59 kB / 402.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.2915, allocations: 3.609 kB / 402.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-06/0.2915, allocations: 2.156 kB / 402.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.2916, allocations: 120 kB / 402.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2916, allocations: 0 / 402.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.2918, allocations: 19.55 kB / 402.9 MB, free: 5.387 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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 6.61e-05/0.2919, allocations: 91.97 kB / 403 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.2921, allocations: 45.94 kB / 403.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2921, allocations: 0 / 403.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.2921, allocations: 30.16 kB / 403.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2924, allocations: 22.3 kB / 403.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.293, allocations: 282.1 kB / 403.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.2931, allocations: 89.02 kB / 403.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2931, allocations: 16.53 kB / 403.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2931, allocations: 0 / 403.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of Templates: time 0.003162/0.2963, allocations: 1.238 MB / 404.8 MB, free: 4.859 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.301059766672552]