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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 203.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.84 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2481, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002421/0.2505, allocations: 1.355 MB / 432.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3995/0.65, allocations: 130.9 MB / 0.5502 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.6501, allocations: 0 / 0.5502 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.6501, allocations: 5.344 kB / 0.5502 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.6515, allocations: 384.4 kB / 0.5506 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.6526, allocations: 0.5255 MB / 0.5511 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6527, allocations: 69.7 kB / 0.5511 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.6528, allocations: 5.078 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.6528, allocations: 33.69 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.6529, allocations: 34.69 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.6529, allocations: 2.719 kB / 0.5512 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.6546, allocations: 0.9407 MB / 0.5521 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.6546, allocations: 12.53 kB / 0.5522 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.6547, allocations: 26.3 kB / 0.5522 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.6558, allocations: 0.6656 MB / 0.5528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6558, allocations: 5.844 kB / 0.5528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6558, allocations: 0 / 0.5528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.6558, allocations: 0 / 0.5528 GB, free: 15.88 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.0006068/0.6564, allocations: 383.5 kB / 0.5532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6565, allocations: 13.45 kB / 0.5532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.6565, allocations: 35.72 kB / 0.5532 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.657, allocations: 71.11 kB / 0.5533 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.6571, allocations: 144.4 kB / 0.5535 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6571, allocations: 6.188 kB / 0.5535 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6571, allocations: 9.625 kB / 0.5535 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.6573, allocations: 72.08 kB / 0.5535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.6573, allocations: 0 / 0.5535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.6573, allocations: 0 / 0.5535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6573, allocations: 2.938 kB / 0.5535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/0.6574, allocations: 42.38 kB / 0.5536 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.6576, allocations: 165.7 kB / 0.5537 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.6579, allocations: 108.3 kB / 0.5538 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.658, allocations: 40.91 kB / 0.5539 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.6584, allocations: 60.55 kB / 0.5539 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6584, allocations: 35.97 kB / 0.554 GB, free: 15.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.6584, allocations: 0 / 0.554 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003263/0.6588, allocations: 120.8 kB / 0.5541 GB, free: 15.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.6588, allocations: 82.98 kB / 0.5542 GB, free: 14.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.6589, allocations: 143.4 kB / 0.5543 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.659, allocations: 28.61 kB / 0.5543 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.659, allocations: 90.62 kB / 0.5544 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.659, allocations: 23.77 kB / 0.5544 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.6591, allocations: 22.88 kB / 0.5545 GB, free: 14.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6592, allocations: 319.6 kB / 0.5548 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.6593, allocations: 19.56 kB / 0.5548 GB, free: 14.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.6593, allocations: 59.48 kB / 0.5548 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6595, allocations: 85.83 kB / 0.5549 GB, free: 14.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6595, allocations: 0 / 0.5549 GB, free: 14.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.6597, allocations: 110.1 kB / 0.555 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6597, allocations: 4.906 kB / 0.555 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6597, allocations: 3.344 kB / 0.555 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6598, allocations: 3.438 kB / 0.555 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.6598, allocations: 21.28 kB / 0.5551 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.6598, allocations: 0 / 0.5551 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.6599, allocations: 6.859 kB / 0.5551 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6599, allocations: 2.625 kB / 0.5551 GB, free: 14.24 MB / 462.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 8.614e-05/0.66, allocations: 120.2 kB / 0.5552 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.66, allocations: 5.938 kB / 0.5552 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.6602, allocations: 115.1 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6602, allocations: 2.312 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6602, allocations: 0 / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6603, allocations: 7.703 kB / 0.5553 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.6604, allocations: 164 kB / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6604, allocations: 0 / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.6605, allocations: 13.48 kB / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6605, allocations: 0 / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6605, allocations: 3.469 kB / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6605, allocations: 0 / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6605, allocations: 0 / 0.5555 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.6608, allocations: 168.5 kB / 0.5556 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.6608, allocations: 5.688 kB / 0.5556 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.6608, allocations: 6.25 kB / 0.5557 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.6609, allocations: 7.391 kB / 0.5557 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.6609, allocations: 6.141 kB / 0.5557 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.6609, allocations: 7.094 kB / 0.5557 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.285e-05/0.661, allocations: 110.1 kB / 0.5558 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.661, allocations: 0 / 0.5558 GB, free: 13.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.6615, allocations: 170.6 kB / 0.5559 GB, free: 13.71 MB / 462.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.001291/0.6627, allocations: 1.007 MB / 0.5569 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.6629, allocations: 75.86 kB / 0.557 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6629, allocations: 0 / 0.557 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.663, allocations: 27.33 kB / 0.557 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.6632, allocations: 21.83 kB / 0.557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.6651, allocations: 1.75 MB / 0.5588 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.6651, allocations: 74.38 kB / 0.5588 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.6652, allocations: 20.58 kB / 0.5588 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.6652, allocations: 24.53 kB / 0.5589 GB, free: 11.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6652, allocations: 0 / 0.5589 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.7002, allocations: 6.927 MB / 0.5656 GB, free: 10.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.51, allocations: 4 kB / 0.5656 GB, free: 10.3 MB / 462.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.966645722277462]