Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007373/0.0007375, allocations: 90.36 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002568, allocations: 11.98 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2215, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001549/0.2231, allocations: 1.369 MB / 378 MB, free: 44.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.2239, allocations: 0.5035 MB / 378.5 MB, free: 44.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.224, allocations: 1.188 kB / 378.5 MB, free: 44.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.162e-05/0.2241, allocations: 7.922 kB / 378.5 MB, free: 44.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.2243, allocations: 15.67 kB / 378.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.2245, allocations: 49.42 kB / 378.5 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.2247, allocations: 91.67 kB / 378.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2248, allocations: 28.69 kB / 378.7 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.2249, allocations: 37.69 kB / 378.7 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.225, allocations: 34.03 kB / 378.7 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.225, allocations: 2.156 kB / 378.7 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.225, allocations: 6.312 kB / 378.7 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.2251, allocations: 20.48 kB / 378.8 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.2251, allocations: 66.23 kB / 378.8 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2253, allocations: 80.05 kB / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2253, allocations: 0 / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2253, allocations: 0 / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2253, allocations: 1.094 kB / 378.9 MB, free: 43.78 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.0004439/0.2257, allocations: 396.4 kB / 379.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2258, allocations: 12.72 kB / 379.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.2258, allocations: 19.06 kB / 379.3 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.226, allocations: 193.3 kB / 379.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.226, allocations: 7.156 kB / 379.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.2261, allocations: 9.656 kB / 379.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2262, allocations: 82.5 kB / 379.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2263, allocations: 1.312 kB / 379.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2263, allocations: 4 kB / 379.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2263, allocations: 6.125 kB / 379.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2264, allocations: 45.59 kB / 379.7 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.227, allocations: 406.3 kB / 380.1 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2271, allocations: 69.52 kB / 380.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.2272, allocations: 31.36 kB / 380.2 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2272, allocations: 1.562 kB / 380.2 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2272, allocations: 34.55 kB / 380.2 MB, free: 42.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.465e-06/0.2273, allocations: 5.281 kB / 380.2 MB, free: 42.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003154/0.2276, allocations: 103.8 kB / 380.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.2276, allocations: 52.72 kB / 380.3 MB, free: 42.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2277, allocations: 151.1 kB / 380.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.2277, allocations: 26.86 kB / 380.5 MB, free: 42.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.2278, allocations: 109.5 kB / 380.6 MB, free: 42.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2278, allocations: 21.05 kB / 380.6 MB, free: 42.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.2278, allocations: 5.344 kB / 380.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.2279, allocations: 321.3 kB / 381 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.228, allocations: 19.95 kB / 381 MB, free: 41.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.228, allocations: 24.67 kB / 381 MB, free: 41.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2281, allocations: 47.06 kB / 381.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2281, allocations: 5.156 kB / 381.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.2283, allocations: 94.53 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2283, allocations: 5.281 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2284, allocations: 0 / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2284, allocations: 1.312 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2286, allocations: 37.12 kB / 381.2 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2286, allocations: 1.469 kB / 381.2 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.2287, allocations: 18.64 kB / 381.2 MB, free: 41.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.2287, allocations: 1.328 kB / 381.2 MB, free: 41.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.2288, allocations: 118.5 kB / 381.3 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2288, allocations: 11.97 kB / 381.3 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.2288, allocations: 10.94 kB / 381.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2288, allocations: 3.984 kB / 381.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2289, allocations: 0.875 kB / 381.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2289, allocations: 0 / 381.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.229, allocations: 205.2 kB / 381.6 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.229, allocations: 0.6875 kB / 381.6 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2292, allocations: 25.58 kB / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2292, allocations: 0 / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2292, allocations: 5.188 kB / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2292, allocations: 1.094 kB / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2292, allocations: 0 / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2295, allocations: 220.5 kB / 381.8 MB, free: 41.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.2295, allocations: 87.27 kB / 381.9 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.2296, allocations: 9.016 kB / 381.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.2296, allocations: 3.281 kB / 381.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.2297, allocations: 1.156 kB / 381.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2297, allocations: 2.156 kB / 381.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.2298, allocations: 112.1 kB / 382 MB, free: 40.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2298, allocations: 4.062 kB / 382 MB, free: 40.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.23, allocations: 15.75 kB / 382 MB, free: 40.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.605e-05/0.2301, allocations: 99 kB / 382.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.2302, allocations: 51.28 kB / 382.2 MB, free: 40.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2302, allocations: 0 / 382.2 MB, free: 40.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.2303, allocations: 27.77 kB / 382.2 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2306, allocations: 29.33 kB / 382.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.2312, allocations: 317.1 kB / 382.5 MB, free: 40.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2313, allocations: 0.7001 MB / 383.2 MB, free: 39.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.2314, allocations: 8.094 kB / 383.3 MB, free: 39.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.2314, allocations: 14.83 kB / 383.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2314, allocations: 0 / 383.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of Templates: time 0.0027/0.2341, allocations: 0.8102 MB / 384.1 MB, free: 39.36 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile (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) diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches