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.0008354/0.0008354, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008885/0.0008885, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8696/0.8696, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.943e-06/1.943e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.431e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002622/0.002647, allocations: 1.372 MB / 325.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.293/0.2956, allocations: 130.9 MB / 456.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.2957, allocations: 2.531 kB / 456.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.2957, allocations: 5.109 kB / 456.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.2968, allocations: 384.2 kB / 457.2 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.2977, allocations: 0.5264 MB / 457.7 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2979, allocations: 78.44 kB / 457.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.2979, allocations: 8.359 kB / 457.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.298, allocations: 42.66 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.2981, allocations: 28.94 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2981, allocations: 3.75 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2994, allocations: 0.9505 MB / 458.8 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.2994, allocations: 17.47 kB / 458.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2995, allocations: 22.89 kB / 458.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.3004, allocations: 0.7544 MB / 459.6 MB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3004, allocations: 0 / 459.6 MB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3004, allocations: 2.672 kB / 459.6 MB, free: 5.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3004, allocations: 0 / 459.6 MB, free: 5.488 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.0004918/0.3009, allocations: 385.6 kB / 460 MB, free: 5.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3009, allocations: 13.2 kB / 460 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.3009, allocations: 33.31 kB / 460.1 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.3012, allocations: 74.2 kB / 460.1 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.3013, allocations: 132.2 kB / 460.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3013, allocations: 7.562 kB / 460.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3013, allocations: 0.9688 kB / 460.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3014, allocations: 79.97 kB / 460.3 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3014, allocations: 0.8125 kB / 460.3 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3015, allocations: 2.906 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3015, allocations: 0.75 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.3015, allocations: 39.02 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.3017, allocations: 163.8 kB / 460.5 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3019, allocations: 114.2 kB / 460.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.3019, allocations: 32.5 kB / 460.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.3022, allocations: 74.78 kB / 460.8 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.3022, allocations: 37.5 kB / 460.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3022, allocations: 0 / 460.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002331/0.3025, allocations: 118.2 kB / 460.9 MB, free: 4.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3025, allocations: 78.67 kB / 461 MB, free: 4.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.3026, allocations: 143 kB / 461.1 MB, free: 4.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.3026, allocations: 26.91 kB / 461.2 MB, free: 4.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.3026, allocations: 90.69 kB / 461.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3026, allocations: 17.86 kB / 461.3 MB, free: 4.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3026, allocations: 25.73 kB / 461.3 MB, free: 4.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.833e-05/0.3027, allocations: 320 kB / 461.6 MB, free: 3.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.3027, allocations: 23.94 kB / 461.6 MB, free: 3.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.3028, allocations: 51.25 kB / 461.7 MB, free: 3.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.3028, allocations: 81.59 kB / 461.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3028, allocations: 0 / 461.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000133/0.303, allocations: 117.3 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.303, allocations: 7.062 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.303, allocations: 1.203 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.303, allocations: 2.781 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.303, allocations: 15.53 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3031, allocations: 2.016 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.3031, allocations: 11.86 kB / 461.9 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3031, allocations: 2.562 kB / 461.9 MB, free: 3.871 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 4.121e-05/0.3031, allocations: 121.8 kB / 462 MB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3032, allocations: 6.625 kB / 462 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.3033, allocations: 114.1 kB / 462.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3033, allocations: 4.688 kB / 462.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3033, allocations: 2.844 kB / 462.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3033, allocations: 1.094 kB / 462.2 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.187e-05/0.3034, allocations: 148.1 kB / 462.3 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3034, allocations: 9.688 kB / 462.3 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.3034, allocations: 17.34 kB / 462.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3034, allocations: 3.938 kB / 462.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3034, allocations: 5.797 kB / 462.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3034, allocations: 1.031 kB / 462.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3034, allocations: 3.156 kB / 462.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3036, allocations: 159.4 kB / 462.5 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.3037, allocations: 15.2 kB / 462.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3037, allocations: 1.969 kB / 462.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3037, allocations: 2.156 kB / 462.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3037, allocations: 8.484 kB / 462.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3037, allocations: 0 / 462.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.729e-05/0.3038, allocations: 115.6 kB / 462.6 MB, free: 3.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3038, allocations: 0.9375 kB / 462.6 MB, free: 3.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.3042, allocations: 171.6 kB / 462.8 MB, free: 3.363 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 (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.000935/0.3052, allocations: 1.022 MB / 463.8 MB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.3053, allocations: 68.28 kB / 463.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3053, allocations: 0 / 463.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.3053, allocations: 31.78 kB / 463.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3055, allocations: 28.95 kB / 464 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3067, allocations: 1.704 MB / 465.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.702e-05/0.3067, allocations: 71.42 kB / 465.7 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.3068, allocations: 21.72 kB / 465.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.3068, allocations: 27.81 kB / 465.8 MB, free: 1.371 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3068, allocations: 0 / 465.8 MB, free: 1.371 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3304, allocations: 7.089 MB / 472.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.018, allocations: 1.969 kB / 472.9 MB, free: 15.89 MB / 426.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 8.708966589532793]