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.001433/0.001433, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001586/0.001586, allocations: 183 kB / 18.68 MB, free: 4.387 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009744/0.0009745, allocations: 48.02 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2088, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002014/0.2108, allocations: 1.359 MB / 402.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1421/0.3529, allocations: 148.7 MB / 0.5386 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.353, allocations: 4 kB / 0.5386 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3531, allocations: 3.938 kB / 0.5386 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.3538, allocations: 238.8 kB / 0.5388 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.3547, allocations: 406.2 kB / 0.5392 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.3548, allocations: 55.67 kB / 0.5392 GB, free: 1.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.3548, allocations: 11.59 kB / 0.5393 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.3549, allocations: 27.91 kB / 0.5393 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.355, allocations: 27.91 kB / 0.5393 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.355, allocations: 0 / 0.5393 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3561, allocations: 0.6745 MB / 0.54 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.3561, allocations: 4 kB / 0.54 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.3561, allocations: 35.84 kB / 0.54 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.3568, allocations: 487.1 kB / 0.5405 GB, free: 256 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3568, allocations: 3.938 kB / 0.5405 GB, free: 252 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3568, allocations: 0 / 0.5405 GB, free: 252 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3569, allocations: 0 / 0.5405 GB, free: 252 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.1618/0.5187, allocations: 422.2 kB / 0.5409 GB, free: 151.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5188, allocations: 9.75 kB / 0.5409 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.52, allocations: 96.45 kB / 0.541 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.5202, allocations: 220.1 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5202, allocations: 5.812 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.5203, allocations: 5.375 kB / 0.5412 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.5205, allocations: 90.17 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5205, allocations: 0.6562 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.5205, allocations: 5.031 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5205, allocations: 0.5 kB / 0.5413 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.5207, allocations: 46.95 kB / 0.5413 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.5209, allocations: 214.8 kB / 0.5415 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.5214, allocations: 122.1 kB / 0.5417 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.5216, allocations: 35.84 kB / 0.5417 GB, free: 150.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.522, allocations: 0.9889 MB / 0.5427 GB, free: 149.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.522, allocations: 36.08 kB / 0.5427 GB, free: 149.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.522, allocations: 0.5312 kB / 0.5427 GB, free: 149.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005117/0.5225, allocations: 138.5 kB / 0.5428 GB, free: 149.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.5226, allocations: 81.72 kB / 0.5429 GB, free: 149.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.5228, allocations: 153.6 kB / 0.543 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5228, allocations: 30.39 kB / 0.5431 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.5228, allocations: 85.2 kB / 0.5432 GB, free: 149.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.5229, allocations: 22.38 kB / 0.5432 GB, free: 149.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.5229, allocations: 33.06 kB / 0.5432 GB, free: 149.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.523, allocations: 318.4 kB / 0.5435 GB, free: 148.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5231, allocations: 25.23 kB / 0.5435 GB, free: 148.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.5232, allocations: 51.56 kB / 0.5436 GB, free: 148.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.5234, allocations: 85.81 kB / 0.5437 GB, free: 148.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5234, allocations: 0.5312 kB / 0.5437 GB, free: 148.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003611/0.5238, allocations: 121.8 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5238, allocations: 9.344 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5238, allocations: 1.094 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5239, allocations: 6.328 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.524, allocations: 28.31 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.524, allocations: 2.203 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.5242, allocations: 7.219 kB / 0.5438 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5243, allocations: 11.5 kB / 0.5438 GB, free: 148.8 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.767e-05/0.5243, allocations: 113.6 kB / 0.544 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.5244, allocations: 6.969 kB / 0.544 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.525, allocations: 246.9 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.525, allocations: 1.609 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.525, allocations: 1.031 kB / 0.5442 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.5251, allocations: 85.34 kB / 0.5443 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.5251, allocations: 1.75 kB / 0.5443 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.5253, allocations: 15.72 kB / 0.5443 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.5254, allocations: 7.047 kB / 0.5443 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005215/0.5259, allocations: 292.1 kB / 0.5446 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004506/0.5264, allocations: 397.1 kB / 0.545 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001263/0.5265, allocations: 40.73 kB / 0.545 GB, free: 147.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.5267, allocations: 131.5 kB / 0.5451 GB, free: 147.8 MB / 462.1 MB Notification: Performance of Backend: time 2.61e-07/0.5267, allocations: 0 / 0.5451 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.528, allocations: 368.8 kB / 0.5455 GB, free: 147.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.0005699/0.5286, allocations: 0.7419 MB / 0.5462 GB, free: 147 MB / 462.1 MB Notification: Performance of Templates: time 0.007118/0.5357, allocations: 5.464 MB / 0.5515 GB, free: 142.1 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/jenkins1/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/jenkins1/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