Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001391/0.001391, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001509/0.001509, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.451/1.451, allocations: 230.5 MB / 258.1 MB, free: 7.773 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.84 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 53.4 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002898/0.2797, allocations: 1.342 MB / 433.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4085/0.6881, allocations: 130.6 MB / 0.5511 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.6882, allocations: 1.375 kB / 0.5511 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.6882, allocations: 3.969 kB / 0.5511 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008793/0.6891, allocations: 242.5 kB / 0.5514 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.69, allocations: 406.5 kB / 0.5517 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.6901, allocations: 60.02 kB / 0.5518 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.6902, allocations: 3.453 kB / 0.5518 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.6902, allocations: 24.59 kB / 0.5518 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.6903, allocations: 32.23 kB / 0.5519 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.6903, allocations: 2.25 kB / 0.5519 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.6912, allocations: 0.5647 MB / 0.5524 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.6912, allocations: 6.938 kB / 0.5524 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.6912, allocations: 22.89 kB / 0.5524 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.6918, allocations: 480.4 kB / 0.5529 GB, free: 1.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6918, allocations: 1.203 kB / 0.5529 GB, free: 1.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6919, allocations: 3.594 kB / 0.5529 GB, free: 1.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.6919, allocations: 0 / 0.5529 GB, free: 1.188 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.0005734/0.6924, allocations: 358.9 kB / 0.5532 GB, free: 16.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6925, allocations: 12.98 kB / 0.5533 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6937, allocations: 106.6 kB / 0.5534 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.6939, allocations: 166.5 kB / 0.5535 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6939, allocations: 3.188 kB / 0.5535 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.694, allocations: 5.781 kB / 0.5535 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.6942, allocations: 91.2 kB / 0.5536 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6942, allocations: 0.7812 kB / 0.5536 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6942, allocations: 0 / 0.5536 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6942, allocations: 5.438 kB / 0.5536 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.6944, allocations: 45.28 kB / 0.5537 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.6945, allocations: 150.7 kB / 0.5538 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.695, allocations: 125.7 kB / 0.5539 GB, free: 16.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.6951, allocations: 37.58 kB / 0.554 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.6953, allocations: 96.31 kB / 0.5541 GB, free: 16.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.6953, allocations: 41.14 kB / 0.5541 GB, free: 16.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6953, allocations: 0 / 0.5541 GB, free: 16.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004409/0.6958, allocations: 133.6 kB / 0.5542 GB, free: 16.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.6958, allocations: 84.2 kB / 0.5543 GB, free: 16.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.696, allocations: 156.7 kB / 0.5545 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.696, allocations: 28.77 kB / 0.5545 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.6961, allocations: 84.95 kB / 0.5546 GB, free: 16.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.6961, allocations: 20.78 kB / 0.5546 GB, free: 16.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.6962, allocations: 31.98 kB / 0.5546 GB, free: 16.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6963, allocations: 320 kB / 0.5549 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.6964, allocations: 27.41 kB / 0.5549 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.6965, allocations: 51.48 kB / 0.555 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.6967, allocations: 83.53 kB / 0.5551 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6967, allocations: 3.938 kB / 0.5551 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003011/0.697, allocations: 122.6 kB / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.697, allocations: 6.859 kB / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.697, allocations: 3.844 kB / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.697, allocations: 0 / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6972, allocations: 31.88 kB / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6972, allocations: 480 / 0.5552 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.6973, allocations: 13.38 kB / 0.5552 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.6974, allocations: 6.422 kB / 0.5553 GB, free: 15.65 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.75e-05/0.6975, allocations: 115.9 kB / 0.5554 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.6975, allocations: 10.33 kB / 0.5554 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.698, allocations: 253 kB / 0.5556 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.698, allocations: 3.156 kB / 0.5556 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.698, allocations: 1.094 kB / 0.5556 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.698, allocations: 2.719 kB / 0.5556 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.6982, allocations: 163.6 kB / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6982, allocations: 0 / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.6984, allocations: 20.34 kB / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6984, allocations: 0 / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.6984, allocations: 6.109 kB / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6984, allocations: 3.188 kB / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6984, allocations: 0.9375 kB / 0.5558 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.6988, allocations: 182.4 kB / 0.556 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.6988, allocations: 21.73 kB / 0.556 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.6989, allocations: 4.125 kB / 0.556 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.699, allocations: 3.984 kB / 0.556 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6991, allocations: 13.7 kB / 0.556 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6991, allocations: 5.188 kB / 0.556 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.6992, allocations: 136.7 kB / 0.5562 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6992, allocations: 0 / 0.5562 GB, free: 15.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.6997, allocations: 133.7 kB / 0.5563 GB, free: 15.16 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005612/0.7003, allocations: 310.8 kB / 0.5566 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.7005, allocations: 75.34 kB / 0.5567 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7005, allocations: 3.281 kB / 0.5567 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.7006, allocations: 36.34 kB / 0.5567 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7008, allocations: 14.44 kB / 0.5567 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.7014, allocations: 336.4 kB / 0.557 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.7014, allocations: 71.17 kB / 0.5571 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7016, allocations: 45.77 kB / 0.5571 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7016, allocations: 0 / 0.5571 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.005826/0.7074, allocations: 4.2 MB / 0.5612 GB, free: 14.2 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 7.767959881108254]