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.001655/0.001655, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001908/0.001908, allocations: 197 kB / 21.43 MB, free: 1.609 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.359/1.359, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.92 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09403, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00246/0.09648, allocations: 1.364 MB / 419.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3395/0.436, allocations: 149.2 MB / 0.5557 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.436, allocations: 4 kB / 0.5557 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.436, allocations: 0 / 0.5557 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008254/0.4369, allocations: 239.6 kB / 0.5559 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.4378, allocations: 403.9 kB / 0.5563 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.4379, allocations: 51.73 kB / 0.5563 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.438, allocations: 0 / 0.5563 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.438, allocations: 31.91 kB / 0.5564 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.4381, allocations: 32.47 kB / 0.5564 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4381, allocations: 0 / 0.5564 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.4392, allocations: 0.6862 MB / 0.5571 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.4392, allocations: 7.938 kB / 0.5571 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.4393, allocations: 23.88 kB / 0.5571 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.44, allocations: 499.9 kB / 0.5576 GB, free: 13.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.44, allocations: 1.219 kB / 0.5576 GB, free: 13.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.44, allocations: 0 / 0.5576 GB, free: 13.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.44, allocations: 0 / 0.5576 GB, free: 13.76 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.0005499/0.4405, allocations: 438.5 kB / 0.558 GB, free: 13.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4406, allocations: 12.03 kB / 0.558 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.529e-05/0.4406, allocations: 192 / 0.558 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.4406, allocations: 34.75 kB / 0.558 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4417, allocations: 96.75 kB / 0.5581 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.442, allocations: 219.7 kB / 0.5583 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.442, allocations: 0 / 0.5583 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.442, allocations: 7.953 kB / 0.5584 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4422, allocations: 91.33 kB / 0.5584 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4422, allocations: 0 / 0.5584 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4422, allocations: 9.672 kB / 0.5585 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4422, allocations: 0 / 0.5585 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.4424, allocations: 55.88 kB / 0.5585 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.4427, allocations: 206.9 kB / 0.5587 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.4432, allocations: 121.2 kB / 0.5588 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4433, allocations: 41.69 kB / 0.5589 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.444, allocations: 0.9861 MB / 0.5598 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.444, allocations: 34.56 kB / 0.5599 GB, free: 11.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.444, allocations: 0 / 0.5599 GB, free: 11.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004911/0.4445, allocations: 133.5 kB / 0.56 GB, free: 10.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.4446, allocations: 77.11 kB / 0.5601 GB, free: 10.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.4448, allocations: 163.3 kB / 0.5602 GB, free: 10.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4448, allocations: 25.7 kB / 0.5602 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.4449, allocations: 88.14 kB / 0.5603 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.4449, allocations: 19.78 kB / 0.5603 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.445, allocations: 33.69 kB / 0.5604 GB, free: 10.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4451, allocations: 322.8 kB / 0.5607 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4452, allocations: 23.97 kB / 0.5607 GB, free: 10.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4453, allocations: 57.38 kB / 0.5608 GB, free: 10.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4455, allocations: 79.34 kB / 0.5608 GB, free: 9.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4455, allocations: 0 / 0.5608 GB, free: 9.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003439/0.4459, allocations: 125.5 kB / 0.561 GB, free: 9.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4459, allocations: 8 kB / 0.561 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4459, allocations: 480 / 0.561 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4459, allocations: 0 / 0.561 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4461, allocations: 27.97 kB / 0.561 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4461, allocations: 4 kB / 0.561 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4463, allocations: 15.88 kB / 0.561 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.4463, allocations: 9.172 kB / 0.561 GB, free: 9.746 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 9.881e-05/0.4464, allocations: 113.8 kB / 0.5611 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.4464, allocations: 7.984 kB / 0.5611 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.447, allocations: 244.6 kB / 0.5614 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.447, allocations: 0 / 0.5614 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.447, allocations: 8.688 kB / 0.5614 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.447, allocations: 0 / 0.5614 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.4472, allocations: 218.7 kB / 0.5616 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4472, allocations: 0 / 0.5616 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.4474, allocations: 20.66 kB / 0.5616 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4474, allocations: 0 / 0.5616 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4474, allocations: 7.938 kB / 0.5616 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4474, allocations: 0 / 0.5616 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4474, allocations: 0 / 0.5616 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.4479, allocations: 186.9 kB / 0.5618 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.448, allocations: 101 kB / 0.5619 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.448, allocations: 4 kB / 0.5619 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4482, allocations: 8 kB / 0.5619 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.4482, allocations: 3.984 kB / 0.5619 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4482, allocations: 4 kB / 0.5619 GB, free: 8.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.4484, allocations: 139.2 kB / 0.562 GB, free: 8.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4484, allocations: 0 / 0.562 GB, free: 8.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.4489, allocations: 139.5 kB / 0.5622 GB, free: 8.469 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.001358/0.4503, allocations: 0.9195 MB / 0.5631 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4506, allocations: 80.94 kB / 0.5631 GB, free: 7.445 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4506, allocations: 0 / 0.5631 GB, free: 7.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4507, allocations: 32.11 kB / 0.5632 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4509, allocations: 20.61 kB / 0.5632 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.4536, allocations: 1.791 MB / 0.5649 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4539, allocations: 0.6931 MB / 0.5656 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.4544, allocations: 433 kB / 0.566 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.4546, allocations: 47.39 kB / 0.5661 GB, free: 4.316 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4546, allocations: 4 kB / 0.5661 GB, free: 4.312 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.4812, allocations: 6.68 MB / 0.5726 GB, free: 13.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.313, allocations: 15.84 kB / 0.5726 GB, free: 13.77 MB / 478.1 MB " [Timeout remaining time 652] (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: 10.698203643027227]