Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008399/0.0008398, allocations: 84.25 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001636/0.2299, allocations: 1.368 MB / 376.4 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.2306, allocations: 0.4981 MB / 376.9 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.2307, allocations: 1.125 kB / 376.9 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.802e-05/0.2308, allocations: 11.86 kB / 376.9 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.231, allocations: 23.61 kB / 377 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2311, allocations: 33.2 kB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.2313, allocations: 86.2 kB / 377.1 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2314, allocations: 32.45 kB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.2315, allocations: 29.77 kB / 377.1 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.2316, allocations: 38.31 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2316, allocations: 6.531 kB / 377.2 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.2316, allocations: 6.469 kB / 377.2 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.2317, allocations: 20.38 kB / 377.2 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.2318, allocations: 58.02 kB / 377.3 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.2318, allocations: 59.83 kB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2319, allocations: 0 / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2319, allocations: 1.031 kB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2319, allocations: 0 / 377.3 MB, free: 43.64 MB / 298.7 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.0004345/0.2323, allocations: 395.8 kB / 377.7 MB, free: 43.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2324, allocations: 13.23 kB / 377.7 MB, free: 43.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2324, allocations: 15.66 kB / 377.8 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2326, allocations: 197.8 kB / 377.9 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2326, allocations: 6.781 kB / 378 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.2326, allocations: 13.5 kB / 378 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2328, allocations: 81.83 kB / 378 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2328, allocations: 0 / 378 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2328, allocations: 5.25 kB / 378 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2328, allocations: 1.156 kB / 378 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.233, allocations: 41.92 kB / 378.1 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2334, allocations: 422.1 kB / 378.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2336, allocations: 66.12 kB / 378.6 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.2337, allocations: 35.44 kB / 378.6 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2337, allocations: 1.125 kB / 378.6 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2337, allocations: 34.56 kB / 378.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.2337, allocations: 1.125 kB / 378.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002497/0.234, allocations: 100 kB / 378.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.234, allocations: 56.58 kB / 378.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.2341, allocations: 151.8 kB / 378.9 MB, free: 42.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.2341, allocations: 26.77 kB / 379 MB, free: 42.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.2342, allocations: 113.4 kB / 379.1 MB, free: 41.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.2342, allocations: 17.62 kB / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.2342, allocations: 0 / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.2342, allocations: 321.5 kB / 379.4 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.2343, allocations: 21.08 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.2344, allocations: 24.83 kB / 379.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2345, allocations: 51.38 kB / 379.5 MB, free: 41.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2345, allocations: 0 / 379.5 MB, free: 41.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001483/0.2346, allocations: 90.88 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2347, allocations: 8.391 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2347, allocations: 0.9375 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2347, allocations: 5.844 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.2349, allocations: 36.94 kB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2349, allocations: 4 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.235, allocations: 11.09 kB / 379.7 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.235, allocations: 2.125 kB / 379.7 MB, free: 41.52 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.2351, allocations: 114 kB / 379.8 MB, free: 41.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2351, allocations: 11.44 kB / 379.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.2351, allocations: 15.42 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2351, allocations: 1.062 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2351, allocations: 3.938 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2352, allocations: 4 kB / 379.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2353, allocations: 202.3 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2353, allocations: 0 / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2355, allocations: 25.42 kB / 380 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2355, allocations: 0 / 380 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2355, allocations: 5.516 kB / 380 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2355, allocations: 0 / 380 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2355, allocations: 3.938 kB / 380 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.2357, allocations: 209.3 kB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.2358, allocations: 91.38 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2358, allocations: 5.062 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.2359, allocations: 6.219 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.2359, allocations: 6.172 kB / 380.3 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.2359, allocations: 1.125 kB / 380.3 MB, free: 40.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.236, allocations: 109.1 kB / 380.5 MB, free: 40.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.236, allocations: 0 / 380.5 MB, free: 40.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.2362, allocations: 15.53 kB / 380.5 MB, free: 40.74 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.353e-05/0.2363, allocations: 92 kB / 380.6 MB, free: 40.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.2365, allocations: 55.62 kB / 380.6 MB, free: 40.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2365, allocations: 1.219 kB / 380.6 MB, free: 40.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.2365, allocations: 27.58 kB / 380.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2369, allocations: 21.3 kB / 380.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.2374, allocations: 334.7 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2375, allocations: 0.7007 MB / 381.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.2376, allocations: 14.69 kB / 381.7 MB, free: 39.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2376, allocations: 0 / 381.7 MB, free: 39.62 MB / 298.7 MB Notification: Performance of Templates: time 0.002345/0.2399, allocations: 1.179 MB / 382.9 MB, free: 39.01 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches