Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 96.03 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 185.8 kB / 24.45 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 51.92 kB / 371.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.254, allocations: 52.17 MB / 423.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00321/0.2572, allocations: 1.35 MB / 425.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3898/0.647, allocations: 128.1 MB / 0.5402 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.6471, allocations: 0.5 kB / 0.5402 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.6471, allocations: 6.703 kB / 0.5403 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.6483, allocations: 381.7 kB / 0.5406 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.6495, allocations: 0.5165 MB / 0.5411 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6496, allocations: 78.92 kB / 0.5412 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.6497, allocations: 1.375 kB / 0.5412 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.6497, allocations: 37.44 kB / 0.5412 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.6498, allocations: 33.44 kB / 0.5413 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.6498, allocations: 3.719 kB / 0.5413 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.6514, allocations: 0.9235 MB / 0.5422 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.6515, allocations: 17.8 kB / 0.5422 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.6515, allocations: 24.19 kB / 0.5422 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009811/0.6525, allocations: 0.6621 MB / 0.5429 GB, free: 1.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6525, allocations: 1.375 kB / 0.5429 GB, free: 1.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6525, allocations: 0 / 0.5429 GB, free: 1.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.6525, allocations: 1.062 kB / 0.5429 GB, free: 1.316 MB / 446.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.0006749/0.6532, allocations: 390.8 kB / 0.5432 GB, free: 16.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6532, allocations: 9.812 kB / 0.5432 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.6537, allocations: 72.53 kB / 0.5433 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.6538, allocations: 138.3 kB / 0.5434 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6539, allocations: 6.094 kB / 0.5434 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.6539, allocations: 4.281 kB / 0.5435 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.654, allocations: 75.06 kB / 0.5435 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.654, allocations: 1.094 kB / 0.5435 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.6541, allocations: 3.875 kB / 0.5435 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6541, allocations: 1.688 kB / 0.5435 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6542, allocations: 43.34 kB / 0.5436 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.6543, allocations: 143.9 kB / 0.5437 GB, free: 16.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.6546, allocations: 111.9 kB / 0.5438 GB, free: 16.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.6547, allocations: 37.56 kB / 0.5439 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/0.6551, allocations: 61.45 kB / 0.5439 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6552, allocations: 33.09 kB / 0.5439 GB, free: 16.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6552, allocations: 0 / 0.5439 GB, free: 16.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003398/0.6555, allocations: 124.5 kB / 0.5441 GB, free: 16.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.6556, allocations: 86.36 kB / 0.5441 GB, free: 16.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.6557, allocations: 141.7 kB / 0.5443 GB, free: 16.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.6557, allocations: 26.8 kB / 0.5443 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.6557, allocations: 88.03 kB / 0.5444 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.6558, allocations: 23 kB / 0.5444 GB, free: 16.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.6558, allocations: 24.06 kB / 0.5444 GB, free: 16.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6559, allocations: 320.7 kB / 0.5447 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.656, allocations: 23.06 kB / 0.5448 GB, free: 15.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.6561, allocations: 55.05 kB / 0.5448 GB, free: 15.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6562, allocations: 75.36 kB / 0.5449 GB, free: 15.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6562, allocations: 4.312 kB / 0.5449 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.6564, allocations: 112.6 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6564, allocations: 6.094 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6564, allocations: 0.9062 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6565, allocations: 1.406 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.6565, allocations: 20.48 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.6565, allocations: 4.281 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.6566, allocations: 9.672 kB / 0.545 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6566, allocations: 5.844 kB / 0.545 GB, free: 15.77 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.297e-05/0.6567, allocations: 116.5 kB / 0.5452 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.6567, allocations: 10.58 kB / 0.5452 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.6569, allocations: 108.5 kB / 0.5453 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6569, allocations: 3.562 kB / 0.5453 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6569, allocations: 0.9062 kB / 0.5453 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6569, allocations: 1.062 kB / 0.5453 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.6571, allocations: 129.7 kB / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6571, allocations: 1.094 kB / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.6571, allocations: 18.14 kB / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6571, allocations: 4.219 kB / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.6571, allocations: 0 / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6571, allocations: 3.891 kB / 0.5454 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6571, allocations: 4 kB / 0.5454 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.6574, allocations: 159.3 kB / 0.5456 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.6575, allocations: 22.58 kB / 0.5456 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.6575, allocations: 6.281 kB / 0.5456 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.6575, allocations: 1.875 kB / 0.5456 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.6576, allocations: 9.203 kB / 0.5456 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.6576, allocations: 3.5 kB / 0.5456 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.6576, allocations: 111.4 kB / 0.5457 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6576, allocations: 3.406 kB / 0.5457 GB, free: 15.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.6582, allocations: 163.7 kB / 0.5459 GB, free: 15.28 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.0009261/0.6591, allocations: 436.7 kB / 0.5463 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6593, allocations: 67.81 kB / 0.5464 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6593, allocations: 0.9062 kB / 0.5464 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.6594, allocations: 32.06 kB / 0.5464 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6596, allocations: 31.84 kB / 0.5464 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.6602, allocations: 329.9 kB / 0.5467 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.6602, allocations: 73.64 kB / 0.5468 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.6602, allocations: 18.39 kB / 0.5468 GB, free: 14.87 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.6603, allocations: 6.406 kB / 0.5468 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Templates: time 0.005758/0.666, allocations: 4.033 MB / 0.5508 GB, free: 14.45 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.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: 8.462322414852679]