Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001021/0.001021, allocations: 191 kB / 18 MB, free: 5.207 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009687, allocations: 43.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2479, allocations: 49.42 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002193/0.2502, allocations: 1.375 MB / 402.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1533/0.4035, allocations: 148.7 MB / 0.5379 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.4036, allocations: 0 / 0.5379 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.4037, allocations: 3.938 kB / 0.5379 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.4046, allocations: 230.8 kB / 0.5381 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4056, allocations: 399 kB / 0.5385 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.548e-05/0.4057, allocations: 55.72 kB / 0.5386 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.4058, allocations: 7.781 kB / 0.5386 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.4058, allocations: 27.92 kB / 0.5386 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.4059, allocations: 31.84 kB / 0.5386 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4059, allocations: 0 / 0.5386 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.407, allocations: 0.6706 MB / 0.5393 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.4071, allocations: 8 kB / 0.5393 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.4071, allocations: 31.78 kB / 0.5393 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.4078, allocations: 491.1 kB / 0.5398 GB, free: 396 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4078, allocations: 0 / 0.5398 GB, free: 396 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4079, allocations: 0 / 0.5398 GB, free: 396 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4079, allocations: 4 kB / 0.5398 GB, free: 392 kB / 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.188/0.5959, allocations: 418.8 kB / 0.5402 GB, free: 151.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.596, allocations: 9.594 kB / 0.5402 GB, free: 151.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5971, allocations: 96.91 kB / 0.5403 GB, free: 151.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.5974, allocations: 216.2 kB / 0.5405 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5974, allocations: 1.75 kB / 0.5405 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.5974, allocations: 6.125 kB / 0.5405 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5977, allocations: 97.19 kB / 0.5406 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5977, allocations: 0.5 kB / 0.5406 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5977, allocations: 4.469 kB / 0.5406 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5977, allocations: 1.094 kB / 0.5406 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.5979, allocations: 45.09 kB / 0.5406 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.5981, allocations: 208.5 kB / 0.5408 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.5986, allocations: 125.6 kB / 0.541 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.5988, allocations: 44.2 kB / 0.541 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/0.5992, allocations: 0.9901 MB / 0.542 GB, free: 149.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.5992, allocations: 32.06 kB / 0.542 GB, free: 149.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.5992, allocations: 0 / 0.542 GB, free: 149.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005016/0.5997, allocations: 136.7 kB / 0.5421 GB, free: 149.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.5998, allocations: 79.72 kB / 0.5422 GB, free: 149.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.6, allocations: 154.6 kB / 0.5424 GB, free: 149.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.6, allocations: 26.27 kB / 0.5424 GB, free: 149.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.6, allocations: 89.8 kB / 0.5425 GB, free: 149.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6, allocations: 18.25 kB / 0.5425 GB, free: 149.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.6001, allocations: 30.44 kB / 0.5425 GB, free: 149.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.953e-05/0.6002, allocations: 324.3 kB / 0.5428 GB, free: 149.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6003, allocations: 23.89 kB / 0.5428 GB, free: 149.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6004, allocations: 51.03 kB / 0.5429 GB, free: 149.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6006, allocations: 89.86 kB / 0.543 GB, free: 149.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6006, allocations: 0.5938 kB / 0.543 GB, free: 149.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003494/0.601, allocations: 122.7 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.601, allocations: 5.219 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.601, allocations: 6.062 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.601, allocations: 1.281 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.6012, allocations: 27.31 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6012, allocations: 5.625 kB / 0.5431 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.6014, allocations: 10.95 kB / 0.5432 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.6014, allocations: 11.3 kB / 0.5432 GB, free: 149 MB / 462.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 5.663e-05/0.6015, allocations: 116.9 kB / 0.5433 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.6016, allocations: 8.562 kB / 0.5433 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.6021, allocations: 236.3 kB / 0.5435 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6022, allocations: 1.25 kB / 0.5435 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6022, allocations: 6.031 kB / 0.5435 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6022, allocations: 0.5 kB / 0.5435 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.6023, allocations: 213.7 kB / 0.5437 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6024, allocations: 0.5 kB / 0.5437 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.6025, allocations: 25.48 kB / 0.5437 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6026, allocations: 5.656 kB / 0.5438 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.6026, allocations: 10.77 kB / 0.5438 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6026, allocations: 1.25 kB / 0.5438 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6026, allocations: 0.5938 kB / 0.5438 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.603, allocations: 182.4 kB / 0.5439 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.6031, allocations: 94.33 kB / 0.544 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.6031, allocations: 11.08 kB / 0.544 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.6033, allocations: 5.078 kB / 0.544 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.6033, allocations: 5.656 kB / 0.544 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6034, allocations: 4.656 kB / 0.5441 GB, free: 148.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.6035, allocations: 133.5 kB / 0.5442 GB, free: 148.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6035, allocations: 0 / 0.5442 GB, free: 148.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.6041, allocations: 128.5 kB / 0.5443 GB, free: 148.2 MB / 462.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.0007112/0.6048, allocations: 327.9 kB / 0.5446 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.6051, allocations: 79.67 kB / 0.5447 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6051, allocations: 0 / 0.5447 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.6052, allocations: 41.25 kB / 0.5447 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.6055, allocations: 17.81 kB / 0.5447 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.6059, allocations: 298.1 kB / 0.545 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.606, allocations: 0.6877 MB / 0.5457 GB, free: 147.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.6064, allocations: 430.8 kB / 0.5461 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6066, allocations: 43.2 kB / 0.5462 GB, free: 146.9 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6066, allocations: 0 / 0.5462 GB, free: 146.9 MB / 462.1 MB Notification: Performance of Templates: time 0.006996/0.6136, allocations: 5.192 MB / 0.5512 GB, free: 141.8 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches