Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 208 kB / 19.41 MB, free: 3.648 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.434/1.434, 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.00193/0.00193, allocations: 67.88 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2226, allocations: 50.54 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002364/0.2249, allocations: 1.37 MB / 411.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.389/0.614, allocations: 152 MB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.614, allocations: 0 / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.614, allocations: 7.078 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.6147, allocations: 237.6 kB / 0.5506 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.6155, allocations: 402.3 kB / 0.551 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.6156, allocations: 57.47 kB / 0.551 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.6156, allocations: 3.375 kB / 0.551 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.6157, allocations: 21.47 kB / 0.5511 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.6158, allocations: 34.52 kB / 0.5511 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.6158, allocations: 3.75 kB / 0.5511 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.6167, allocations: 0.6707 MB / 0.5518 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.6167, allocations: 8.906 kB / 0.5518 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.6167, allocations: 26.69 kB / 0.5518 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.6173, allocations: 494.8 kB / 0.5523 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6173, allocations: 0 / 0.5523 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.6173, allocations: 4.156 kB / 0.5523 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.6173, allocations: 0 / 0.5523 GB, free: 1.414 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006861/0.618, allocations: 438.9 kB / 0.5527 GB, free: 17.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.6181, allocations: 8.594 kB / 0.5527 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.6194, allocations: 110 kB / 0.5528 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.6197, allocations: 225.6 kB / 0.553 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.6197, allocations: 5.422 kB / 0.553 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.6197, allocations: 3.656 kB / 0.553 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.6199, allocations: 92.59 kB / 0.5531 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6199, allocations: 3.25 kB / 0.5531 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.62, allocations: 3.812 kB / 0.5531 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.62, allocations: 0.9375 kB / 0.5531 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.6201, allocations: 43.86 kB / 0.5532 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.6203, allocations: 208 kB / 0.5534 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.6208, allocations: 122.7 kB / 0.5535 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.6209, allocations: 37.88 kB / 0.5535 GB, free: 16.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.6217, allocations: 0.9937 MB / 0.5545 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6217, allocations: 39.25 kB / 0.5545 GB, free: 15.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.6217, allocations: 0 / 0.5545 GB, free: 15.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004677/0.6222, allocations: 133.1 kB / 0.5546 GB, free: 15.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6222, allocations: 79.36 kB / 0.5547 GB, free: 15.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.6224, allocations: 156.3 kB / 0.5549 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6225, allocations: 28.39 kB / 0.5549 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.6225, allocations: 87.14 kB / 0.555 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.6225, allocations: 23.05 kB / 0.555 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.6226, allocations: 30.19 kB / 0.555 GB, free: 14.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6227, allocations: 323 kB / 0.5553 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.6228, allocations: 27.17 kB / 0.5554 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.6229, allocations: 54.31 kB / 0.5554 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.6231, allocations: 83.92 kB / 0.5555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6232, allocations: 0.8438 kB / 0.5555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003295/0.6235, allocations: 124.4 kB / 0.5556 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6235, allocations: 5.594 kB / 0.5556 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6235, allocations: 2.125 kB / 0.5556 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6235, allocations: 3.594 kB / 0.5556 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6236, allocations: 25.73 kB / 0.5557 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6237, allocations: 0 / 0.5557 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.6238, allocations: 8.047 kB / 0.5557 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.6239, allocations: 12.69 kB / 0.5557 GB, free: 14.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.597e-05/0.624, allocations: 120.3 kB / 0.5558 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.624, allocations: 10.27 kB / 0.5558 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.6245, allocations: 232 kB / 0.556 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6245, allocations: 5.078 kB / 0.556 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6245, allocations: 3 kB / 0.556 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6245, allocations: 4.188 kB / 0.556 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.6247, allocations: 217.8 kB / 0.5562 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6247, allocations: 3.938 kB / 0.5562 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.6249, allocations: 20.94 kB / 0.5563 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6249, allocations: 4.516 kB / 0.5563 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.6249, allocations: 8.656 kB / 0.5563 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6249, allocations: 2.25 kB / 0.5563 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6249, allocations: 0 / 0.5563 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.6253, allocations: 180.2 kB / 0.5564 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.6254, allocations: 95.67 kB / 0.5565 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.6254, allocations: 7.875 kB / 0.5565 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6256, allocations: 3.531 kB / 0.5566 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.6256, allocations: 9.562 kB / 0.5566 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.6256, allocations: 6.672 kB / 0.5566 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.6258, allocations: 134.9 kB / 0.5567 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6258, allocations: 0 / 0.5567 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.6262, allocations: 136.4 kB / 0.5568 GB, free: 13.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006295/0.6269, allocations: 324.7 kB / 0.5571 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.6271, allocations: 81 kB / 0.5572 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6271, allocations: 0 / 0.5572 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6273, allocations: 42.19 kB / 0.5573 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.6275, allocations: 13.11 kB / 0.5573 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.628, allocations: 309 kB / 0.5576 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6283, allocations: 0.6893 MB / 0.5582 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.6287, allocations: 432.1 kB / 0.5586 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.6288, allocations: 45.89 kB / 0.5587 GB, free: 12.86 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6288, allocations: 0.5312 kB / 0.5587 GB, free: 12.86 MB / 478.1 MB Notification: Performance of Templates: time 0.007833/0.6367, allocations: 5.231 MB / 0.5638 GB, free: 12.43 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches