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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 113 kB / 17.07 MB, free: 6.016 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.001278/0.001278, allocations: 189.4 kB / 18 MB, free: 5.098 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 47.92 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2315, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002331/0.2339, allocations: 1.355 MB / 401.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1686/0.4025, allocations: 148.7 MB / 0.5374 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.4026, allocations: 7.938 kB / 0.5374 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.4027, allocations: 7.922 kB / 0.5374 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008131/0.4035, allocations: 230.8 kB / 0.5377 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.4044, allocations: 397.1 kB / 0.538 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4046, allocations: 59.66 kB / 0.5381 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.4046, allocations: 0 / 0.5381 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.4046, allocations: 31.91 kB / 0.5381 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.4047, allocations: 31.86 kB / 0.5382 GB, free: 1.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.4048, allocations: 0 / 0.5382 GB, free: 1.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.406, allocations: 0.6668 MB / 0.5388 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.406, allocations: 7.984 kB / 0.5388 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.406, allocations: 27.8 kB / 0.5388 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.4068, allocations: 494.8 kB / 0.5393 GB, free: 212 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4068, allocations: 4 kB / 0.5393 GB, free: 208 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4068, allocations: 0 / 0.5393 GB, free: 208 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4068, allocations: 4 kB / 0.5393 GB, free: 204 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.1721/0.579, allocations: 423.9 kB / 0.5397 GB, free: 151.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.579, allocations: 9.219 kB / 0.5397 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.5791, allocations: 33.95 kB / 0.5398 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.5802, allocations: 94.19 kB / 0.5399 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.5805, allocations: 219.8 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5805, allocations: 2.375 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5805, allocations: 3.219 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.5807, allocations: 90.36 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5807, allocations: 3.938 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5808, allocations: 4.188 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5808, allocations: 0.625 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.581, allocations: 48.62 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.5812, allocations: 212.2 kB / 0.5404 GB, free: 150.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.5816, allocations: 122.4 kB / 0.5405 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.5818, allocations: 42.17 kB / 0.5406 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/0.5822, allocations: 0.9871 MB / 0.5415 GB, free: 149.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.5822, allocations: 36.09 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.5822, allocations: 3.609 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004733/0.5827, allocations: 131.8 kB / 0.5417 GB, free: 149.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.5827, allocations: 85.75 kB / 0.5418 GB, free: 149.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5829, allocations: 153.7 kB / 0.5419 GB, free: 149.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.583, allocations: 26.27 kB / 0.542 GB, free: 149.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.583, allocations: 85.2 kB / 0.542 GB, free: 149 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.583, allocations: 31.17 kB / 0.5421 GB, free: 149 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.5831, allocations: 29.28 kB / 0.5421 GB, free: 149 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.5831, allocations: 319.9 kB / 0.5424 GB, free: 148.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5832, allocations: 26.34 kB / 0.5424 GB, free: 148.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.5834, allocations: 50.41 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.5836, allocations: 90.28 kB / 0.5426 GB, free: 148.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5836, allocations: 0 / 0.5426 GB, free: 148.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003459/0.584, allocations: 115.6 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.584, allocations: 9.281 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.584, allocations: 1.281 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.584, allocations: 1.906 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.5842, allocations: 30.88 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5842, allocations: 4.422 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.5843, allocations: 11.62 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.5844, allocations: 10.91 kB / 0.5427 GB, free: 148.5 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.353e-05/0.5844, allocations: 112.9 kB / 0.5428 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.5845, allocations: 11.83 kB / 0.5429 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.5851, allocations: 240.7 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5851, allocations: 1.281 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5851, allocations: 8.797 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5851, allocations: 1.406 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.5852, allocations: 211.9 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5852, allocations: 0.5 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.5854, allocations: 21.34 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5854, allocations: 4.656 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5855, allocations: 6.844 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5855, allocations: 0.6875 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5855, allocations: 3.406 kB / 0.5433 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.5859, allocations: 181.1 kB / 0.5435 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.5859, allocations: 89.78 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.586, allocations: 6.156 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5861, allocations: 13.67 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.5862, allocations: 7.406 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.5862, allocations: 12.11 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.5864, allocations: 129.6 kB / 0.5438 GB, free: 147.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5864, allocations: 0 / 0.5438 GB, free: 147.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005035/0.5869, allocations: 134.7 kB / 0.5439 GB, free: 147.7 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.001133/0.588, allocations: 0.9278 MB / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.5883, allocations: 75.14 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5883, allocations: 0 / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5884, allocations: 45.53 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.5886, allocations: 14.17 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.5907, allocations: 1.791 MB / 0.5467 GB, free: 145.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.5908, allocations: 0.6922 MB / 0.5473 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003977/0.5912, allocations: 427.9 kB / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5913, allocations: 43.19 kB / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5913, allocations: 4 kB / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.619, allocations: 6.607 MB / 0.5542 GB, free: 138.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.439, allocations: 7.094 kB / 0.5543 GB, free: 138.1 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > 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