Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 110.5 kB / 17.06 MB, free: 6.098 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.001341/0.001341, allocations: 198.9 kB / 18 MB, free: 5.172 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 47.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3016, allocations: 49.43 MB / 400.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003305/0.305, allocations: 1.683 MB / 402.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.306, allocations: 494.7 kB / 402.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.3061, allocations: 7.938 kB / 402.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3062, allocations: 11.86 kB / 402.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.3065, allocations: 31.78 kB / 402.9 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3067, allocations: 43.88 kB / 403 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.3069, allocations: 99.69 kB / 403.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.307, allocations: 37.09 kB / 403.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3071, allocations: 43.78 kB / 403.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.3072, allocations: 39.78 kB / 403.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3072, allocations: 8 kB / 403.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.3073, allocations: 11.94 kB / 403.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.3073, allocations: 19.92 kB / 403.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3074, allocations: 39.73 kB / 403.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3076, allocations: 85.11 kB / 403.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3076, allocations: 0 / 403.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3076, allocations: 0 / 403.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3076, allocations: 4 kB / 403.3 MB, free: 6.379 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.0006375/0.3082, allocations: 414.8 kB / 403.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3083, allocations: 12.03 kB / 403.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.3084, allocations: 8.844 kB / 403.8 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3087, allocations: 217.6 kB / 404 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3087, allocations: 0 / 404 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3087, allocations: 12 kB / 404 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3089, allocations: 88.97 kB / 404.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3089, allocations: 0 / 404.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.309, allocations: 0 / 404.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.309, allocations: 7.938 kB / 404.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3091, allocations: 35.98 kB / 404.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3097, allocations: 407.8 kB / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3098, allocations: 62.59 kB / 404.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.3099, allocations: 28.89 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3099, allocations: 4 kB / 404.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.31, allocations: 38.44 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.31, allocations: 0 / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000278/0.3103, allocations: 97.58 kB / 404.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3103, allocations: 55.39 kB / 404.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3104, allocations: 140.3 kB / 404.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3105, allocations: 29.7 kB / 405 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3106, allocations: 104.2 kB / 405.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3106, allocations: 23.73 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3107, allocations: 21.7 kB / 405.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3108, allocations: 322.8 kB / 405.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.3109, allocations: 16 kB / 405.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.3109, allocations: 23.92 kB / 405.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.311, allocations: 52.78 kB / 405.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.311, allocations: 3.938 kB / 405.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001505/0.3112, allocations: 85.58 kB / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3112, allocations: 8 kB / 405.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3112, allocations: 0 / 405.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3113, allocations: 4 kB / 405.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3115, allocations: 39.95 kB / 405.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3115, allocations: 0 / 405.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.3115, allocations: 7.906 kB / 405.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3116, allocations: 0 / 405.7 MB, free: 3.828 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 0.0001337/0.3117, allocations: 125.7 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.3117, allocations: 7.906 kB / 405.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3118, allocations: 16.31 kB / 405.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3118, allocations: 4 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3118, allocations: 0 / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3118, allocations: 4 kB / 405.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.312, allocations: 197.5 kB / 406 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.312, allocations: 4.25 kB / 406 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3122, allocations: 31.91 kB / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3122, allocations: 0 / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3122, allocations: 0 / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3122, allocations: 0 / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3122, allocations: 0 / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3125, allocations: 211.3 kB / 406.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3126, allocations: 85.05 kB / 406.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3126, allocations: 0 / 406.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.3127, allocations: 0 / 406.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.3127, allocations: 7.984 kB / 406.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3127, allocations: 4 kB / 406.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.3128, allocations: 111.2 kB / 406.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 4.062 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.313, allocations: 15.91 kB / 406.5 MB, free: 2.914 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 0.0001034/0.3132, allocations: 95.19 kB / 406.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3133, allocations: 55.91 kB / 406.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3133, allocations: 3.938 kB / 406.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.3134, allocations: 23.98 kB / 406.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3137, allocations: 27.66 kB / 406.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.3143, allocations: 257.4 kB / 406.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3146, allocations: 0.7002 MB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.3146, allocations: 7.984 kB / 407.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3147, allocations: 15.44 kB / 407.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3147, allocations: 0 / 407.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003266/0.318, allocations: 0.9084 MB / 408.6 MB, free: 0.7773 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches