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.0009273/0.0009273, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002214, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009332/0.0009332, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002153, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8968/0.8968, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09479/0.9916, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.721e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002697/0.002715, allocations: 1.449 MB / 246.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2361/0.2388, allocations: 144.7 MB / 391.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.2389, allocations: 3.938 kB / 391.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2389, allocations: 0 / 391.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.2398, allocations: 378 kB / 391.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.2407, allocations: 0.4985 MB / 392.1 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2408, allocations: 75.64 kB / 392.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.2408, allocations: 0 / 392.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.2409, allocations: 61.81 kB / 392.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.241, allocations: 19.97 kB / 392.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.241, allocations: 7.938 kB / 392.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.2422, allocations: 0.9892 MB / 393.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.2422, allocations: 11.94 kB / 393.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2422, allocations: 12 kB / 393.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.243, allocations: 0.6546 MB / 393.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.2431, allocations: 0 / 393.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2431, allocations: 0 / 393.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2431, allocations: 0 / 393.9 MB, free: 3.34 MB / 362.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.0004807/0.2436, allocations: 432.7 kB / 394.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.2436, allocations: 12.62 kB / 394.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.2439, allocations: 157.9 kB / 394.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.244, allocations: 132.5 kB / 394.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.244, allocations: 384 / 394.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.244, allocations: 8.562 kB / 394.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.2441, allocations: 74.8 kB / 394.7 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.2441, allocations: 4 kB / 394.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.2441, allocations: 4 kB / 394.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.2441, allocations: 0 / 394.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.2441, allocations: 13.66 kB / 394.7 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.265e-05/0.2442, allocations: 79.55 kB / 394.8 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2444, allocations: 80.41 kB / 394.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.2444, allocations: 21.66 kB / 394.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2445, allocations: 51.94 kB / 394.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2446, allocations: 30.56 kB / 395 MB, free: 2.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.2446, allocations: 0 / 395 MB, free: 2.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001316/0.2447, allocations: 69.55 kB / 395 MB, free: 2.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.2447, allocations: 81.05 kB / 395.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.2448, allocations: 132.3 kB / 395.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2448, allocations: 29.7 kB / 395.3 MB, free: 1.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.2448, allocations: 92.12 kB / 395.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2448, allocations: 23.78 kB / 395.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.2449, allocations: 21.7 kB / 395.4 MB, free: 1.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.2449, allocations: 322.8 kB / 395.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.2449, allocations: 6.828 kB / 395.7 MB, free: 1.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.245, allocations: 27.44 kB / 395.8 MB, free: 1.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.245, allocations: 52.98 kB / 395.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.245, allocations: 0 / 395.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.169e-05/0.2451, allocations: 80.83 kB / 395.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2451, allocations: 8 kB / 395.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2451, allocations: 0 / 395.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/0.2451, allocations: 4.031 kB / 395.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.2452, allocations: 27.91 kB / 395.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.2452, allocations: 0.9375 kB / 395.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2452, allocations: 0 / 395.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.2452, allocations: 4 kB / 395.9 MB, free: 1.055 MB / 362.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.811e-05/0.2453, allocations: 116.7 kB / 396 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.2453, allocations: 15.98 kB / 396.1 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.2454, allocations: 75.97 kB / 396.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2454, allocations: 3.938 kB / 396.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2454, allocations: 0 / 396.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2454, allocations: 5.297 kB / 396.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.269e-05/0.2454, allocations: 73.89 kB / 396.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2454, allocations: 0 / 396.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.2455, allocations: 19.92 kB / 396.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.2455, allocations: 11.95 kB / 396.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2455, allocations: 0 / 396.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.2455, allocations: 11.98 kB / 396.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.2455, allocations: 7.938 kB / 396.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2455, allocations: 3.938 kB / 396.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.2456, allocations: 99.27 kB / 396.4 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2456, allocations: 4 kB / 396.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2457, allocations: 0 / 396.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2457, allocations: 11.92 kB / 396.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2457, allocations: 5.25 kB / 396.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.297e-05/0.2457, allocations: 28.42 kB / 396.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2457, allocations: 0 / 396.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.246, allocations: 179.4 kB / 396.6 MB, free: 344 kB / 362.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.0005744/0.2466, allocations: 442.5 kB / 397 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.801e-05/0.2467, allocations: 32.77 kB / 397.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2467, allocations: 4 kB / 397.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.2467, allocations: 12.86 kB / 397.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2468, allocations: 41.62 kB / 397.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2481, allocations: 226 kB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.2482, allocations: 63.34 kB / 397.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.2482, allocations: 18.12 kB / 397.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.2483, allocations: 67.36 kB / 397.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2483, allocations: 4 kB / 397.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Templates: time 0.006716/0.255, allocations: 6.534 MB / 404 MB, free: 8.934 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8418132178485394]