Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001078/0.001078, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2392, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002052/0.2413, allocations: 1.378 MB / 410.1 MB, free: 176 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3799/0.6212, allocations: 151.6 MB / 0.5485 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.6212, allocations: 0.9062 kB / 0.5485 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.6213, allocations: 5.156 kB / 0.5485 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.6221, allocations: 244.2 kB / 0.5488 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.6229, allocations: 396.5 kB / 0.5492 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.623, allocations: 59.84 kB / 0.5492 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.623, allocations: 4.516 kB / 0.5492 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.6231, allocations: 26.19 kB / 0.5492 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.6232, allocations: 27.86 kB / 0.5493 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.6232, allocations: 5.766 kB / 0.5493 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.6241, allocations: 0.6691 MB / 0.5499 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.6241, allocations: 11.67 kB / 0.5499 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.6242, allocations: 30.19 kB / 0.55 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.6248, allocations: 493.3 kB / 0.5504 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6248, allocations: 0 / 0.5504 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6248, allocations: 0.9688 kB / 0.5504 GB, free: 1.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.6248, allocations: 1.094 kB / 0.5504 GB, free: 1.441 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.0005512/0.6253, allocations: 429.8 kB / 0.5508 GB, free: 17.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.6254, allocations: 14.41 kB / 0.5509 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.6254, allocations: 38.78 kB / 0.5509 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.6267, allocations: 110.9 kB / 0.551 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.627, allocations: 217.1 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.627, allocations: 0.9062 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.627, allocations: 6.406 kB / 0.5512 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.6272, allocations: 92.7 kB / 0.5513 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6272, allocations: 6.469 kB / 0.5513 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6273, allocations: 0.9062 kB / 0.5513 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6273, allocations: 1.203 kB / 0.5513 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.6274, allocations: 43.55 kB / 0.5514 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.6276, allocations: 210.3 kB / 0.5516 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.6281, allocations: 124.4 kB / 0.5517 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.6282, allocations: 38.05 kB / 0.5517 GB, free: 16.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/0.6287, allocations: 0.9834 MB / 0.5527 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.6288, allocations: 41.97 kB / 0.5527 GB, free: 15.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.6288, allocations: 0.875 kB / 0.5527 GB, free: 15.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004399/0.6292, allocations: 132.8 kB / 0.5528 GB, free: 15.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.6293, allocations: 85.33 kB / 0.5529 GB, free: 15.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.6295, allocations: 150.9 kB / 0.5531 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6295, allocations: 29.27 kB / 0.5531 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.6295, allocations: 86.27 kB / 0.5532 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.6296, allocations: 22.59 kB / 0.5532 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.6296, allocations: 32.45 kB / 0.5532 GB, free: 14.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.6297, allocations: 319.5 kB / 0.5535 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.6298, allocations: 30.34 kB / 0.5536 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.6299, allocations: 57.08 kB / 0.5536 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.6301, allocations: 85.39 kB / 0.5537 GB, free: 14.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6301, allocations: 0 / 0.5537 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002892/0.6304, allocations: 118.6 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.6304, allocations: 7.656 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6304, allocations: 3.406 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6305, allocations: 0.9688 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.6306, allocations: 24.19 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6306, allocations: 0.5938 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6308, allocations: 14.31 kB / 0.5539 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.6308, allocations: 10.19 kB / 0.5539 GB, free: 14.53 MB / 478.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 7.454e-05/0.6309, allocations: 124.2 kB / 0.554 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.631, allocations: 4.281 kB / 0.554 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.6314, allocations: 236.7 kB / 0.5542 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6315, allocations: 4.953 kB / 0.5542 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6315, allocations: 0 / 0.5542 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6315, allocations: 2.266 kB / 0.5542 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6316, allocations: 223.5 kB / 0.5544 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6317, allocations: 0.5156 kB / 0.5544 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.6318, allocations: 25.98 kB / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6318, allocations: 0 / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6319, allocations: 9.625 kB / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6319, allocations: 0.9688 kB / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6319, allocations: 3.531 kB / 0.5545 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.6322, allocations: 180.2 kB / 0.5546 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.6323, allocations: 94.12 kB / 0.5547 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.6324, allocations: 1.062 kB / 0.5547 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.6325, allocations: 4.719 kB / 0.5547 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.6326, allocations: 5.797 kB / 0.5547 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6326, allocations: 10.23 kB / 0.5548 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.6328, allocations: 129.3 kB / 0.5549 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6328, allocations: 0 / 0.5549 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.6332, allocations: 133.1 kB / 0.555 GB, free: 13.89 MB / 478.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.001103/0.6343, allocations: 0.9291 MB / 0.5559 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.6346, allocations: 76.95 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6346, allocations: 1.031 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6347, allocations: 42.75 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6349, allocations: 14.72 kB / 0.556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.6372, allocations: 1.791 MB / 0.5578 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6375, allocations: 0.6909 MB / 0.5585 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006685/0.6382, allocations: 441.5 kB / 0.5589 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.6384, allocations: 49.92 kB / 0.5589 GB, free: 11.31 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6384, allocations: 1 kB / 0.5589 GB, free: 11.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.6629, allocations: 6.699 MB / 0.5655 GB, free: 10.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/8.053, allocations: 8.969 kB / 0.5655 GB, free: 10.5 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches