Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 215.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.326, allocations: 53.36 MB / 432.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00257/0.3286, allocations: 1.355 MB / 433.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4763/0.8048, allocations: 130.9 MB / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.8049, allocations: 1.094 kB / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.8049, allocations: 6 kB / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.8064, allocations: 383.2 kB / 0.5517 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.8079, allocations: 0.5151 MB / 0.5522 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.808, allocations: 74.53 kB / 0.5523 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.8081, allocations: 2.438 kB / 0.5523 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.8081, allocations: 36.62 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.8082, allocations: 35.41 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.8083, allocations: 1.625 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.81, allocations: 0.963 MB / 0.5533 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.8101, allocations: 15.84 kB / 0.5533 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.8101, allocations: 26.34 kB / 0.5534 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.8112, allocations: 0.667 MB / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8112, allocations: 0 / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8112, allocations: 0 / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.8112, allocations: 1.375 kB / 0.554 GB, free: 15.89 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.0008085/0.812, allocations: 387.3 kB / 0.5544 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8121, allocations: 9.625 kB / 0.5544 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.8127, allocations: 71.22 kB / 0.5545 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.8129, allocations: 141.8 kB / 0.5546 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8129, allocations: 12.69 kB / 0.5546 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.8129, allocations: 6.406 kB / 0.5546 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.8131, allocations: 70.81 kB / 0.5547 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8131, allocations: 0 / 0.5547 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8131, allocations: 3.062 kB / 0.5547 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8131, allocations: 1.375 kB / 0.5547 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.8133, allocations: 44.8 kB / 0.5547 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.8135, allocations: 135.7 kB / 0.5549 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.8139, allocations: 113.4 kB / 0.555 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.8139, allocations: 43.06 kB / 0.555 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.8145, allocations: 60.86 kB / 0.5551 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.8145, allocations: 36.62 kB / 0.5551 GB, free: 15.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.8145, allocations: 4 kB / 0.5551 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003538/0.8149, allocations: 123.3 kB / 0.5552 GB, free: 15.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.8149, allocations: 77.11 kB / 0.5553 GB, free: 14.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.8151, allocations: 139.7 kB / 0.5554 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.8151, allocations: 25.7 kB / 0.5555 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.8151, allocations: 91.41 kB / 0.5555 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.8152, allocations: 21.47 kB / 0.5556 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.8152, allocations: 27.3 kB / 0.5556 GB, free: 14.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8154, allocations: 317.3 kB / 0.5559 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.8155, allocations: 28.64 kB / 0.5559 GB, free: 14.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.8156, allocations: 50.78 kB / 0.556 GB, free: 14.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.8157, allocations: 80.7 kB / 0.556 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8157, allocations: 3.062 kB / 0.5561 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002394/0.8159, allocations: 113.1 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.816, allocations: 8.234 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.816, allocations: 64 / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.816, allocations: 8.562 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.8161, allocations: 13.19 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.8161, allocations: 5.625 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.8161, allocations: 10.48 kB / 0.5562 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.8161, allocations: 2.656 kB / 0.5562 GB, free: 14.31 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 9.601e-05/0.8162, allocations: 114.1 kB / 0.5563 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.8163, allocations: 10.56 kB / 0.5563 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.8165, allocations: 109.9 kB / 0.5564 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8165, allocations: 3.25 kB / 0.5564 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8165, allocations: 4 kB / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8165, allocations: 1.203 kB / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.8167, allocations: 125.7 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8167, allocations: 2.875 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.8168, allocations: 16.95 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8168, allocations: 3.594 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.8168, allocations: 3.375 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8168, allocations: 0 / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8168, allocations: 6.859 kB / 0.5566 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.8171, allocations: 160.5 kB / 0.5567 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.8171, allocations: 19.38 kB / 0.5568 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.8172, allocations: 3.047 kB / 0.5568 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.8172, allocations: 4.641 kB / 0.5568 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.8172, allocations: 6.078 kB / 0.5568 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.8172, allocations: 3.062 kB / 0.5568 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.507e-05/0.8173, allocations: 117.1 kB / 0.5569 GB, free: 13.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8173, allocations: 0 / 0.5569 GB, free: 13.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006636/0.818, allocations: 163 kB / 0.557 GB, free: 13.82 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.0009113/0.8189, allocations: 419.5 kB / 0.5574 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.8191, allocations: 67.2 kB / 0.5575 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8191, allocations: 0 / 0.5575 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.8192, allocations: 33.2 kB / 0.5575 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.8194, allocations: 27.78 kB / 0.5576 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.82, allocations: 328.9 kB / 0.5579 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.8201, allocations: 74.64 kB / 0.558 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.8201, allocations: 10.7 kB / 0.558 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.8202, allocations: 23.2 kB / 0.558 GB, free: 13.33 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.8202, allocations: 0 / 0.558 GB, free: 13.33 MB / 462.1 MB Notification: Performance of Templates: time 0.009213/0.8294, allocations: 4.901 MB / 0.5628 GB, free: 12.79 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.408784986007959]