Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 202 kB / 18.73 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.263/1.263, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 50.55 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002235/0.235, allocations: 1.378 MB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3695/0.6046, allocations: 151.9 MB / 0.5489 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.6047, allocations: 5.375 kB / 0.5489 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.6048, allocations: 5.391 kB / 0.5489 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.6059, allocations: 373.2 kB / 0.5492 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.607, allocations: 0.5065 MB / 0.5497 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.6072, allocations: 82.09 kB / 0.5498 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.6072, allocations: 9.703 kB / 0.5498 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.6073, allocations: 35.56 kB / 0.5498 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.6074, allocations: 28.2 kB / 0.5499 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.6074, allocations: 2.344 kB / 0.5499 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6089, allocations: 1.091 MB / 0.5509 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.6089, allocations: 19.48 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.609, allocations: 31.06 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.6098, allocations: 0.6888 MB / 0.5517 GB, free: 0.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6098, allocations: 0 / 0.5517 GB, free: 0.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6098, allocations: 0 / 0.5517 GB, free: 0.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.6098, allocations: 2.594 kB / 0.5517 GB, free: 0.832 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.0006152/0.6104, allocations: 455.9 kB / 0.5521 GB, free: 16.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6105, allocations: 10.62 kB / 0.5521 GB, free: 16.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.6105, allocations: 36.47 kB / 0.5521 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.611, allocations: 71.08 kB / 0.5522 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.6111, allocations: 195 kB / 0.5524 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.6112, allocations: 9.344 kB / 0.5524 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.6112, allocations: 3.969 kB / 0.5524 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.6113, allocations: 69.23 kB / 0.5525 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6114, allocations: 5.562 kB / 0.5525 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.6114, allocations: 0 / 0.5525 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6114, allocations: 0 / 0.5525 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.6115, allocations: 43.39 kB / 0.5525 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.6117, allocations: 201.8 kB / 0.5527 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.612, allocations: 112.5 kB / 0.5528 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.612, allocations: 33.95 kB / 0.5529 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004955/0.6125, allocations: 134.2 kB / 0.553 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6126, allocations: 45.64 kB / 0.553 GB, free: 15.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.6126, allocations: 0 / 0.553 GB, free: 15.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003092/0.6129, allocations: 121.4 kB / 0.5531 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.613, allocations: 77.11 kB / 0.5532 GB, free: 15.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.6131, allocations: 142.3 kB / 0.5533 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6131, allocations: 29.08 kB / 0.5534 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.6131, allocations: 82.89 kB / 0.5535 GB, free: 15.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.6132, allocations: 26.81 kB / 0.5535 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.6132, allocations: 20.03 kB / 0.5535 GB, free: 15.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.6133, allocations: 320.3 kB / 0.5538 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.6134, allocations: 24.77 kB / 0.5538 GB, free: 15.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.6134, allocations: 53.17 kB / 0.5539 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.6135, allocations: 92.08 kB / 0.554 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6136, allocations: 0 / 0.554 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002046/0.6138, allocations: 105.1 kB / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6138, allocations: 6.469 kB / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6138, allocations: 3.188 kB / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6138, allocations: 6.438 kB / 0.5541 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.6139, allocations: 15.02 kB / 0.5541 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6139, allocations: 3.656 kB / 0.5541 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.6139, allocations: 9.641 kB / 0.5541 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.614, allocations: 7.969 kB / 0.5541 GB, free: 14.91 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.488e-05/0.614, allocations: 122.1 kB / 0.5542 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.6141, allocations: 9.219 kB / 0.5542 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.6143, allocations: 113.4 kB / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6143, allocations: 0 / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6143, allocations: 2.766 kB / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6143, allocations: 2.25 kB / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6145, allocations: 188.2 kB / 0.5545 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6145, allocations: 4 kB / 0.5545 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.6145, allocations: 14.03 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6145, allocations: 0 / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6146, allocations: 2.625 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6146, allocations: 0 / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6146, allocations: 0 / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.6149, allocations: 173.3 kB / 0.5547 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.6149, allocations: 85.27 kB / 0.5548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.6149, allocations: 2.75 kB / 0.5548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.615, allocations: 4.766 kB / 0.5548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.615, allocations: 7.672 kB / 0.5548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.615, allocations: 192 / 0.5548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.6151, allocations: 112.5 kB / 0.5549 GB, free: 14.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6151, allocations: 0 / 0.5549 GB, free: 14.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.6155, allocations: 162.9 kB / 0.5551 GB, free: 14.26 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 (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.001246/0.6168, allocations: 1.028 MB / 0.5561 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.617, allocations: 66.14 kB / 0.5561 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.617, allocations: 1.094 kB / 0.5561 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.6171, allocations: 36.66 kB / 0.5562 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.6173, allocations: 23.78 kB / 0.5562 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.619, allocations: 1.733 MB / 0.5579 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.6192, allocations: 0.6904 MB / 0.5586 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.6192, allocations: 22.34 kB / 0.5586 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.6193, allocations: 25.27 kB / 0.5586 GB, free: 11.57 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6193, allocations: 4 kB / 0.5586 GB, free: 11.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.6417, allocations: 6.325 MB / 0.5648 GB, free: 10.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.203, allocations: 5.062 kB / 0.5648 GB, free: 10.71 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches