Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 47.94 kB / 343 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08204, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00235/0.08439, allocations: 1.377 MB / 393.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3232/0.4076, allocations: 151.2 MB / 0.5319 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.4077, allocations: 0 / 0.5319 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.4077, allocations: 9.766 kB / 0.5319 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.4089, allocations: 360.2 kB / 0.5323 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.4108, allocations: 0.8021 MB / 0.5331 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.411, allocations: 79.64 kB / 0.5331 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.411, allocations: 11.98 kB / 0.5332 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.4111, allocations: 27.92 kB / 0.5332 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.4112, allocations: 35.83 kB / 0.5332 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.4112, allocations: 4 kB / 0.5332 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.4136, allocations: 1.457 MB / 0.5346 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.4136, allocations: 23.97 kB / 0.5347 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.4137, allocations: 27.86 kB / 0.5347 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.4149, allocations: 0.8533 MB / 0.5355 GB, free: 6.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4149, allocations: 0 / 0.5355 GB, free: 6.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4149, allocations: 0 / 0.5355 GB, free: 6.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.415, allocations: 0 / 0.5355 GB, free: 6.426 MB / 414.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.0006871/0.4156, allocations: 494 kB / 0.536 GB, free: 5.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4157, allocations: 8.031 kB / 0.536 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/0.4157, allocations: 192 / 0.536 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.4157, allocations: 42.73 kB / 0.536 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.416, allocations: 30.69 kB / 0.5361 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4162, allocations: 200.4 kB / 0.5363 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4162, allocations: 3.938 kB / 0.5363 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4163, allocations: 0 / 0.5363 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.4164, allocations: 75.39 kB / 0.5363 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4164, allocations: 0 / 0.5363 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4164, allocations: 3.938 kB / 0.5363 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4164, allocations: 4 kB / 0.5363 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4166, allocations: 47.91 kB / 0.5364 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.4168, allocations: 195.4 kB / 0.5366 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.4171, allocations: 113 kB / 0.5367 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.4172, allocations: 33.77 kB / 0.5367 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.4177, allocations: 145 kB / 0.5369 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4177, allocations: 38.56 kB / 0.5369 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4177, allocations: 0 / 0.5369 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003594/0.4181, allocations: 113.6 kB / 0.537 GB, free: 4.695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4182, allocations: 81.11 kB / 0.5371 GB, free: 4.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4183, allocations: 140.2 kB / 0.5372 GB, free: 4.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4183, allocations: 25.7 kB / 0.5372 GB, free: 4.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.4184, allocations: 100.1 kB / 0.5373 GB, free: 4.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.4184, allocations: 27.75 kB / 0.5374 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4184, allocations: 21.7 kB / 0.5374 GB, free: 4.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4186, allocations: 318.8 kB / 0.5377 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.4186, allocations: 27.92 kB / 0.5377 GB, free: 3.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.4187, allocations: 47.41 kB / 0.5378 GB, free: 3.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4189, allocations: 87.34 kB / 0.5378 GB, free: 3.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.4189, allocations: 3.938 kB / 0.5378 GB, free: 3.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000244/0.4191, allocations: 108.2 kB / 0.5379 GB, free: 3.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4191, allocations: 4 kB / 0.538 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4191, allocations: 4 kB / 0.538 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4192, allocations: 64 / 0.538 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.4192, allocations: 19.98 kB / 0.538 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4192, allocations: 4 kB / 0.538 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4193, allocations: 3.938 kB / 0.538 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.4193, allocations: 8 kB / 0.538 GB, free: 3.605 MB / 414.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.161e-05/0.4194, allocations: 117.8 kB / 0.5381 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.4194, allocations: 7.953 kB / 0.5381 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.4197, allocations: 118.3 kB / 0.5382 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4197, allocations: 4 kB / 0.5382 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4197, allocations: 0 / 0.5382 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4197, allocations: 0 / 0.5382 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4199, allocations: 197.5 kB / 0.5384 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4199, allocations: 48 / 0.5384 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.42, allocations: 11.98 kB / 0.5384 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.42, allocations: 0 / 0.5384 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.42, allocations: 4 kB / 0.5384 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.42, allocations: 0 / 0.5384 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.42, allocations: 0 / 0.5384 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.4203, allocations: 177.3 kB / 0.5386 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.4204, allocations: 93.08 kB / 0.5387 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4204, allocations: 0 / 0.5387 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.4204, allocations: 0 / 0.5387 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4205, allocations: 11.98 kB / 0.5387 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.4205, allocations: 4 kB / 0.5387 GB, free: 2.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.4206, allocations: 111.3 kB / 0.5388 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0 / 0.5388 GB, free: 2.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000639/0.4212, allocations: 207.3 kB / 0.539 GB, free: 2.457 MB / 414.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001695/0.4229, allocations: 1.118 MB / 0.5401 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4231, allocations: 59.89 kB / 0.5402 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4231, allocations: 4 kB / 0.5402 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.4232, allocations: 27.98 kB / 0.5402 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4235, allocations: 24.47 kB / 0.5402 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4255, allocations: 1.767 MB / 0.5419 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4258, allocations: 0.6885 MB / 0.5426 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.4259, allocations: 16.91 kB / 0.5426 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.4259, allocations: 19.44 kB / 0.5426 GB, free: 14.57 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4259, allocations: 4 kB / 0.5426 GB, free: 14.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4528, allocations: 7.821 MB / 0.5503 GB, free: 6.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.315, allocations: 15.95 kB / 0.5503 GB, free: 6.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.738244176027365]