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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 189 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 55.91 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2663, allocations: 52.17 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002402/0.2687, allocations: 1.378 MB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.413/0.6817, allocations: 149.2 MB / 0.5598 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.6817, allocations: 5.656 kB / 0.5598 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.6818, allocations: 5.344 kB / 0.5598 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008713/0.6826, allocations: 239.7 kB / 0.56 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6839, allocations: 410.8 kB / 0.5604 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.6841, allocations: 57.84 kB / 0.5605 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.6841, allocations: 3.219 kB / 0.5605 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.6842, allocations: 27.38 kB / 0.5605 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.6843, allocations: 27.64 kB / 0.5605 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.6843, allocations: 0 / 0.5605 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.6856, allocations: 0.7028 MB / 0.5612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.6857, allocations: 10.64 kB / 0.5612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.6857, allocations: 25.73 kB / 0.5612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.6864, allocations: 499.8 kB / 0.5617 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6864, allocations: 0 / 0.5617 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6864, allocations: 0 / 0.5617 GB, free: 15.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.6864, allocations: 0 / 0.5617 GB, free: 15.53 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.0006309/0.6871, allocations: 357 kB / 0.562 GB, free: 15.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6871, allocations: 8.438 kB / 0.5621 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.6872, allocations: 36.66 kB / 0.5621 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6882, allocations: 97.33 kB / 0.5622 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.6885, allocations: 158.4 kB / 0.5623 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6885, allocations: 1.922 kB / 0.5623 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.6885, allocations: 8.672 kB / 0.5623 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.6888, allocations: 90.44 kB / 0.5624 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6888, allocations: 4 kB / 0.5624 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.6888, allocations: 1.094 kB / 0.5624 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6888, allocations: 3.219 kB / 0.5624 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.689, allocations: 47.44 kB / 0.5625 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.6892, allocations: 177.8 kB / 0.5626 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.6897, allocations: 126.4 kB / 0.5628 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.6898, allocations: 36.73 kB / 0.5628 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.69, allocations: 100.9 kB / 0.5629 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.6901, allocations: 30.56 kB / 0.5629 GB, free: 14.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.6901, allocations: 3.594 kB / 0.5629 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004355/0.6905, allocations: 141 kB / 0.5631 GB, free: 14.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.6906, allocations: 80.55 kB / 0.5631 GB, free: 14.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.6908, allocations: 153.5 kB / 0.5633 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6908, allocations: 25.7 kB / 0.5633 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.6909, allocations: 86.64 kB / 0.5634 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.6909, allocations: 19.41 kB / 0.5634 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.691, allocations: 34.14 kB / 0.5635 GB, free: 14.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.6912, allocations: 327.4 kB / 0.5638 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.6913, allocations: 26.88 kB / 0.5638 GB, free: 14.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.6914, allocations: 52.06 kB / 0.5638 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.6916, allocations: 83.66 kB / 0.5639 GB, free: 13.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6916, allocations: 4 kB / 0.5639 GB, free: 13.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002976/0.6919, allocations: 112.8 kB / 0.564 GB, free: 13.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6919, allocations: 5.5 kB / 0.564 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6919, allocations: 3.625 kB / 0.564 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6919, allocations: 0 / 0.564 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.6921, allocations: 29.92 kB / 0.5641 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6921, allocations: 7.656 kB / 0.5641 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6922, allocations: 13.58 kB / 0.5641 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.6923, allocations: 10.69 kB / 0.5641 GB, free: 13.9 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 0.0001338/0.6924, allocations: 116.3 kB / 0.5642 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.6924, allocations: 4.5 kB / 0.5642 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.6931, allocations: 253.7 kB / 0.5645 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6931, allocations: 5.375 kB / 0.5645 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6931, allocations: 0 / 0.5645 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6931, allocations: 4.5 kB / 0.5645 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.6933, allocations: 189.9 kB / 0.5646 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6933, allocations: 0 / 0.5646 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6934, allocations: 28.95 kB / 0.5647 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.6935, allocations: 3.375 kB / 0.5647 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6935, allocations: 7.438 kB / 0.5647 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6935, allocations: 1.203 kB / 0.5647 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6935, allocations: 0 / 0.5647 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.6938, allocations: 179.9 kB / 0.5649 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.6939, allocations: 25.44 kB / 0.5649 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.6939, allocations: 64 / 0.5649 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6941, allocations: 8.375 kB / 0.5649 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.6941, allocations: 16.77 kB / 0.5649 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.6942, allocations: 2.156 kB / 0.5649 GB, free: 13.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.6943, allocations: 129 kB / 0.565 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6943, allocations: 1.203 kB / 0.565 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.6948, allocations: 133.4 kB / 0.5652 GB, free: 13.37 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.001316/0.6961, allocations: 0.9299 MB / 0.5661 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.6964, allocations: 75.45 kB / 0.5661 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6964, allocations: 0 / 0.5661 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.6965, allocations: 44.53 kB / 0.5662 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.6967, allocations: 10.31 kB / 0.5662 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.6993, allocations: 1.794 MB / 0.5679 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.6996, allocations: 0.6842 MB / 0.5686 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004657/0.7001, allocations: 430.5 kB / 0.569 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.7002, allocations: 46.97 kB / 0.5691 GB, free: 10.7 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.7002, allocations: 1.781 kB / 0.5691 GB, free: 10.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.7341, allocations: 6.787 MB / 0.5757 GB, free: 9.516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.25, allocations: 11.5 kB / 0.5757 GB, free: 9.508 MB / 462.1 MB " [Timeout remaining time 649] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.576723688980564]