Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.0007921/0.0007921, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007911/0.0007911, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8323/0.8323, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.21e-05, allocations: 9.172 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001387/0.001399, allocations: 1.351 MB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2649/0.2663, allocations: 130.7 MB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.2664, allocations: 1.438 kB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.2664, allocations: 3.078 kB / 456.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.2672, allocations: 246.6 kB / 456.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.2678, allocations: 418.5 kB / 457.2 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.2679, allocations: 64.94 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2679, allocations: 1.812 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.268, allocations: 30.95 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.2681, allocations: 27.31 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2681, allocations: 2.469 kB / 457.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.2687, allocations: 0.5724 MB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2687, allocations: 7.859 kB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2688, allocations: 18.89 kB / 457.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.2692, allocations: 0.5313 MB / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2692, allocations: 2.141 kB / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2692, allocations: 0 / 458.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.2692, allocations: 0.8125 kB / 458.5 MB, free: 5.641 MB / 410.7 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.0003217/0.2695, allocations: 358.2 kB / 458.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2696, allocations: 12.38 kB / 458.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.2696, allocations: 34.06 kB / 458.9 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.2702, allocations: 116.1 kB / 459 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2704, allocations: 167.5 kB / 459.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2704, allocations: 4.062 kB / 459.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2704, allocations: 10.06 kB / 459.2 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2705, allocations: 91.27 kB / 459.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2705, allocations: 0 / 459.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2705, allocations: 4.656 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2706, allocations: 2.375 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.2706, allocations: 44.11 kB / 459.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2708, allocations: 175 kB / 459.5 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.271, allocations: 130 kB / 459.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.2711, allocations: 38.55 kB / 459.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.2713, allocations: 91.12 kB / 459.7 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.2713, allocations: 34.06 kB / 459.8 MB, free: 4.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2713, allocations: 0 / 459.8 MB, free: 4.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002767/0.2715, allocations: 136.7 kB / 459.9 MB, free: 4.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.2716, allocations: 84.83 kB / 460 MB, free: 4.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2717, allocations: 155.2 kB / 460.1 MB, free: 4.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2717, allocations: 29.27 kB / 460.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.2717, allocations: 86.67 kB / 460.2 MB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2717, allocations: 22.42 kB / 460.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2718, allocations: 31.78 kB / 460.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.88e-05/0.2718, allocations: 320.1 kB / 460.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.2718, allocations: 22.25 kB / 460.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.2719, allocations: 55.73 kB / 460.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.272, allocations: 84.89 kB / 460.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.272, allocations: 5.281 kB / 460.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001661/0.2722, allocations: 123 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2722, allocations: 8.141 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2722, allocations: 3.688 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2722, allocations: 0 / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.2723, allocations: 27.41 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2723, allocations: 2.953 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.2724, allocations: 4.438 kB / 460.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2724, allocations: 7.703 kB / 460.9 MB, free: 4.043 MB / 410.7 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 3.811e-05/0.2724, allocations: 118 kB / 461.1 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2724, allocations: 16.06 kB / 461.1 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.2728, allocations: 251.2 kB / 461.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2728, allocations: 0 / 461.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2728, allocations: 0.9688 kB / 461.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2728, allocations: 2.312 kB / 461.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.2729, allocations: 184.6 kB / 461.5 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2729, allocations: 0 / 461.5 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.273, allocations: 23.64 kB / 461.5 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.273, allocations: 7.688 kB / 461.5 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.273, allocations: 5.438 kB / 461.5 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.273, allocations: 4.406 kB / 461.5 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.273, allocations: 1.203 kB / 461.5 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2732, allocations: 178.3 kB / 461.7 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2732, allocations: 16.42 kB / 461.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2732, allocations: 3.938 kB / 461.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.2733, allocations: 5.297 kB / 461.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2733, allocations: 12.05 kB / 461.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.2733, allocations: 3.25 kB / 461.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.2734, allocations: 131.9 kB / 461.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2734, allocations: 0.8438 kB / 461.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.2737, allocations: 133.9 kB / 462 MB, free: 3.531 MB / 410.7 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.0006488/0.2744, allocations: 0.9293 MB / 462.9 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.2745, allocations: 75.69 kB / 463 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2745, allocations: 1.062 kB / 463 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.2746, allocations: 36.84 kB / 463.1 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.2747, allocations: 16.88 kB / 463.1 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.276, allocations: 1.745 MB / 464.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.276, allocations: 76.12 kB / 464.9 MB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.2764, allocations: 435.7 kB / 465.3 MB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.2764, allocations: 45.91 kB / 465.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2764, allocations: 0 / 465.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2953, allocations: 7.588 MB / 473 MB, free: 168 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.627, allocations: 3.625 kB / 473 MB, free: 168 kB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.184975049458444]