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.001044/0.001044, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2369, allocations: 50.54 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00228/0.2392, allocations: 1.381 MB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3987/0.6379, allocations: 151.6 MB / 0.5485 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.638, allocations: 0 / 0.5485 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.6381, allocations: 6.766 kB / 0.5485 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007744/0.6388, allocations: 242.2 kB / 0.5488 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.6397, allocations: 396.1 kB / 0.5492 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.6398, allocations: 56.61 kB / 0.5492 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.6398, allocations: 5.328 kB / 0.5492 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.6399, allocations: 21.86 kB / 0.5492 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.6399, allocations: 30.89 kB / 0.5493 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.64, allocations: 0 / 0.5493 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.6408, allocations: 0.6756 MB / 0.5499 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.6409, allocations: 11.5 kB / 0.5499 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.6409, allocations: 25.03 kB / 0.55 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.6415, allocations: 0.4884 MB / 0.5504 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6415, allocations: 0.9688 kB / 0.5504 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6415, allocations: 0 / 0.5504 GB, free: 1.418 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.6415, allocations: 0 / 0.5504 GB, free: 1.418 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.0005525/0.642, allocations: 428.2 kB / 0.5508 GB, free: 17.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6421, allocations: 12.61 kB / 0.5509 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.6421, allocations: 33.75 kB / 0.5509 GB, free: 16.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.6433, allocations: 111.9 kB / 0.551 GB, free: 16.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.6436, allocations: 222.3 kB / 0.5512 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.6436, allocations: 3.312 kB / 0.5512 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6436, allocations: 1.781 kB / 0.5512 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6438, allocations: 94.92 kB / 0.5513 GB, free: 16.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6439, allocations: 0 / 0.5513 GB, free: 16.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6439, allocations: 3.875 kB / 0.5513 GB, free: 16.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6439, allocations: 1.062 kB / 0.5513 GB, free: 16.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.644, allocations: 46.08 kB / 0.5514 GB, free: 16.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.6443, allocations: 209.5 kB / 0.5516 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.6447, allocations: 125.6 kB / 0.5517 GB, free: 16.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.6448, allocations: 39.58 kB / 0.5517 GB, free: 16.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.6454, allocations: 0.9844 MB / 0.5527 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.6454, allocations: 37.16 kB / 0.5527 GB, free: 15.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.6454, allocations: 0 / 0.5527 GB, free: 15.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004451/0.6458, allocations: 141 kB / 0.5528 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6459, allocations: 80.42 kB / 0.5529 GB, free: 15.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.6461, allocations: 155.9 kB / 0.5531 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6461, allocations: 27.78 kB / 0.5531 GB, free: 15.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.6461, allocations: 87.23 kB / 0.5532 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.6462, allocations: 27.8 kB / 0.5532 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.6462, allocations: 28.75 kB / 0.5532 GB, free: 14.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.6463, allocations: 322.4 kB / 0.5535 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.6464, allocations: 28.08 kB / 0.5536 GB, free: 14.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6465, allocations: 53.94 kB / 0.5536 GB, free: 14.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.6468, allocations: 84.94 kB / 0.5537 GB, free: 14.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6468, allocations: 3.094 kB / 0.5537 GB, free: 14.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003037/0.6471, allocations: 112.3 kB / 0.5538 GB, free: 14.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6471, allocations: 6.906 kB / 0.5538 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6471, allocations: 3.656 kB / 0.5538 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6471, allocations: 0 / 0.5538 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6473, allocations: 32.62 kB / 0.5538 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.6473, allocations: 2.094 kB / 0.5539 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.6474, allocations: 10.17 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.6475, allocations: 12.44 kB / 0.5539 GB, free: 14.5 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.605e-05/0.6476, allocations: 117.5 kB / 0.554 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.6476, allocations: 5.172 kB / 0.554 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.6481, allocations: 243.7 kB / 0.5542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6482, allocations: 0 / 0.5542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6482, allocations: 2 kB / 0.5542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.6482, allocations: 2.656 kB / 0.5542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.6483, allocations: 222.6 kB / 0.5544 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6483, allocations: 2.656 kB / 0.5544 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.6485, allocations: 23.09 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6485, allocations: 2.688 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6485, allocations: 3.938 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6485, allocations: 2.656 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6486, allocations: 0 / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.6489, allocations: 185.3 kB / 0.5546 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.649, allocations: 88.97 kB / 0.5547 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.649, allocations: 6.719 kB / 0.5547 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6492, allocations: 3.531 kB / 0.5547 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.6493, allocations: 12.09 kB / 0.5548 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.6493, allocations: 6.594 kB / 0.5548 GB, free: 13.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.6494, allocations: 130.4 kB / 0.5549 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6494, allocations: 1.094 kB / 0.5549 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.6499, allocations: 133.7 kB / 0.555 GB, free: 13.86 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.001167/0.651, allocations: 0.9211 MB / 0.5559 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.6513, allocations: 80.22 kB / 0.556 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6513, allocations: 0.9688 kB / 0.556 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.6514, allocations: 40.16 kB / 0.556 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.6516, allocations: 13.88 kB / 0.556 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.6539, allocations: 1.796 MB / 0.5578 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.6541, allocations: 0.6913 MB / 0.5585 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004176/0.6546, allocations: 435.9 kB / 0.5589 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.6547, allocations: 53.52 kB / 0.5589 GB, free: 11.29 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6547, allocations: 4.969 kB / 0.5589 GB, free: 11.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.6773, allocations: 6.698 MB / 0.5655 GB, free: 10.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.384, allocations: 9.375 kB / 0.5655 GB, free: 10.48 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