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.001527/0.001527, allocations: 112.1 kB / 17.71 MB, free: 5.258 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.001776/0.001776, allocations: 192.1 kB / 18.64 MB, free: 4.34 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.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.0009898, allocations: 51.92 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2193, allocations: 49.43 MB / 401.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002706/0.222, allocations: 1.697 MB / 403 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.2228, allocations: 494.7 kB / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.2229, allocations: 0 / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.223, allocations: 11.86 kB / 403.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.2232, allocations: 23.8 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2234, allocations: 51.94 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2235, allocations: 103.6 kB / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2237, allocations: 29.11 kB / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.2237, allocations: 35.86 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.2238, allocations: 43.77 kB / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.2239, allocations: 8 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.2239, allocations: 12 kB / 403.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.224, allocations: 23.86 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.224, allocations: 39.73 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2241, allocations: 85.05 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2241, allocations: 0 / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2242, allocations: 0 / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2242, allocations: 0 / 404 MB, free: 6.258 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.0005297/0.2247, allocations: 418.6 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2247, allocations: 12.03 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.2248, allocations: 8.844 kB / 404.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.2251, allocations: 213.9 kB / 404.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2251, allocations: 8 kB / 404.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2251, allocations: 8 kB / 404.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2253, allocations: 69.67 kB / 404.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2253, allocations: 0 / 404.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2253, allocations: 7.938 kB / 404.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2253, allocations: 7.984 kB / 404.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2255, allocations: 35.98 kB / 404.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.226, allocations: 411.8 kB / 405.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2261, allocations: 58.59 kB / 405.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.2262, allocations: 36.88 kB / 405.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2262, allocations: 0 / 405.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2263, allocations: 38.44 kB / 405.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.2263, allocations: 0 / 405.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002802/0.2265, allocations: 97.52 kB / 405.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2266, allocations: 55.41 kB / 405.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2267, allocations: 143.9 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2267, allocations: 25.7 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.2268, allocations: 112.1 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2268, allocations: 19.75 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.2269, allocations: 21.7 kB / 405.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.227, allocations: 322.8 kB / 406.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.227, allocations: 12 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.2271, allocations: 23.98 kB / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2272, allocations: 52.84 kB / 406.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2272, allocations: 3.938 kB / 406.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/0.2274, allocations: 93.5 kB / 406.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2274, allocations: 4 kB / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2274, allocations: 0 / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2275, allocations: 0 / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2277, allocations: 35.97 kB / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2277, allocations: 240 / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.2278, allocations: 11.91 kB / 406.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2278, allocations: 4 kB / 406.3 MB, free: 3.703 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 7.884e-05/0.2279, allocations: 129.7 kB / 406.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2279, allocations: 7.906 kB / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.2279, allocations: 8.312 kB / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2279, allocations: 0 / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2279, allocations: 7.938 kB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.228, allocations: 0 / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2282, allocations: 201.8 kB / 406.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2282, allocations: 4 kB / 406.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2283, allocations: 27.97 kB / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2283, allocations: 0 / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2283, allocations: 4 kB / 406.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2284, allocations: 0 / 406.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2284, allocations: 3.984 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2286, allocations: 199.4 kB / 406.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.2287, allocations: 85.05 kB / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2287, allocations: 8.062 kB / 407 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.2288, allocations: 4 kB / 407 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.2288, allocations: 3.984 kB / 407 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2288, allocations: 3.938 kB / 407 MB, free: 2.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.716e-05/0.229, allocations: 114.4 kB / 407.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.229, allocations: 3.938 kB / 407.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.2292, allocations: 23.84 kB / 407.1 MB, free: 2.781 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.0001176/0.2293, allocations: 91.25 kB / 407.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2295, allocations: 51.92 kB / 407.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2295, allocations: 0 / 407.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.2296, allocations: 27.92 kB / 407.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2299, allocations: 21.98 kB / 407.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.2305, allocations: 287.1 kB / 407.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2308, allocations: 0.7041 MB / 408.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.2308, allocations: 15.42 kB / 408.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2308, allocations: 0 / 408.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Templates: time 0.002535/0.2334, allocations: 1.184 MB / 409.5 MB, free: 348 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/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