Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 117.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 212.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2267, allocations: 50.55 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002951/0.2296, allocations: 1.695 MB / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.2306, allocations: 0.5532 MB / 412.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.2307, allocations: 0 / 412.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.742e-05/0.2308, allocations: 11.86 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2309, allocations: 23.75 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2311, allocations: 59.91 kB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2313, allocations: 103.6 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.2314, allocations: 25.11 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2315, allocations: 47.84 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.2316, allocations: 43.77 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2316, allocations: 4 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.2317, allocations: 16 kB / 412.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.2317, allocations: 19.86 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.2318, allocations: 43.73 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.232, allocations: 91.52 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.232, allocations: 0 / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.232, allocations: 4 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.232, allocations: 0 / 412.9 MB, free: 14.71 MB / 334.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.000587/0.2326, allocations: 410.9 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2326, allocations: 12.03 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2327, allocations: 20.83 kB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.233, allocations: 208.8 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.233, allocations: 8.375 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.233, allocations: 12.12 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2332, allocations: 85.58 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2332, allocations: 0 / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2332, allocations: 4 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2332, allocations: 7.875 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2334, allocations: 43.97 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.2339, allocations: 404 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2341, allocations: 58.58 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.2341, allocations: 28.89 kB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.2341, allocations: 3.938 kB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2342, allocations: 38.56 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2342, allocations: 4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002867/0.2345, allocations: 97.69 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2345, allocations: 51.41 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2346, allocations: 145.6 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2346, allocations: 33.7 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.2347, allocations: 108.2 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.2348, allocations: 23.78 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.2348, allocations: 25.7 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2349, allocations: 322.8 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.235, allocations: 20.06 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.2351, allocations: 23.98 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.2352, allocations: 44.84 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2352, allocations: 0 / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001708/0.2353, allocations: 93.5 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2354, allocations: 8 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2354, allocations: 4 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2354, allocations: 0 / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2356, allocations: 35.97 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2356, allocations: 0 / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.2356, allocations: 7.953 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2357, allocations: 240 / 415.3 MB, free: 12.12 MB / 334.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.0001009/0.2358, allocations: 125.8 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2358, allocations: 11.89 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.2358, allocations: 16.31 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2358, allocations: 0 / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2358, allocations: 0 / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2358, allocations: 3.938 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.2361, allocations: 193.6 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2361, allocations: 0 / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2362, allocations: 35.84 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2362, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2362, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2362, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2362, allocations: 4 kB / 415.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.2365, allocations: 207.4 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.2366, allocations: 92.98 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2366, allocations: 0 / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.2367, allocations: 4 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2367, allocations: 7.984 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.2367, allocations: 4.062 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.2368, allocations: 123.2 kB / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2368, allocations: 0 / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.237, allocations: 19.94 kB / 416.1 MB, free: 11.19 MB / 334.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.0001083/0.2371, allocations: 95.23 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.2373, allocations: 43.98 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2373, allocations: 0 / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.2374, allocations: 23.92 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.2377, allocations: 31.91 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.2383, allocations: 252.5 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.2386, allocations: 0.7002 MB / 417.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.2386, allocations: 15.94 kB / 417.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2387, allocations: 11.44 kB / 417.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2387, allocations: 0 / 417.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of Templates: time 0.003582/0.2423, allocations: 0.9029 MB / 418.2 MB, free: 9.066 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches