Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.00229/0.00229, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002251/0.002251, allocations: 160.8 kB / 24.5 MB, free: 3.711 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.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 61.73 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.09061, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002412/0.09302, allocations: 1.35 MB / 380.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.09835, allocations: 3.724 MB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.09838, allocations: 4 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.0984, allocations: 7.922 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.09943, allocations: 298.9 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1006, allocations: 0.5099 MB / 384.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1007, allocations: 59.61 kB / 384.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.1007, allocations: 4 kB / 384.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1008, allocations: 39.83 kB / 384.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.1016, allocations: 371.3 kB / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1016, allocations: 0 / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009743/0.1025, allocations: 0.5418 MB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1025, allocations: 3.938 kB / 385.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.1026, allocations: 19.92 kB / 385.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.1033, allocations: 434.9 kB / 386.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1033, allocations: 0 / 386.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1033, allocations: 4 kB / 386.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1033, allocations: 4 kB / 386.3 MB, free: 8.07 MB / 350.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.0005472/0.1038, allocations: 365.3 kB / 386.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1039, allocations: 11.98 kB / 386.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1039, allocations: 8.938 kB / 386.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1041, allocations: 134.3 kB / 386.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1041, allocations: 4.375 kB / 386.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1041, allocations: 3.938 kB / 386.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1043, allocations: 63.39 kB / 386.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1043, allocations: 3.938 kB / 386.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1043, allocations: 4 kB / 386.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1043, allocations: 7.984 kB / 386.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.1044, allocations: 15.92 kB / 386.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1046, allocations: 118.2 kB / 387 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1049, allocations: 81.22 kB / 387.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1049, allocations: 25.77 kB / 387.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.1053, allocations: 119.8 kB / 387.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1053, allocations: 38.55 kB / 387.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1053, allocations: 8 kB / 387.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002925/0.1056, allocations: 81.55 kB / 387.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1057, allocations: 81.11 kB / 387.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1058, allocations: 109.8 kB / 387.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1058, allocations: 25.7 kB / 387.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.1058, allocations: 84.14 kB / 387.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1059, allocations: 31.77 kB / 387.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1059, allocations: 17.72 kB / 387.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.106, allocations: 318.8 kB / 388 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.1061, allocations: 16 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.1062, allocations: 43.36 kB / 388 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1063, allocations: 51.42 kB / 388.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1063, allocations: 0 / 388.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.1065, allocations: 93.42 kB / 388.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1065, allocations: 4 kB / 388.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1065, allocations: 8.062 kB / 388.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1066, allocations: 0 / 388.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.1066, allocations: 20.45 kB / 388.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1066, allocations: 0 / 388.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.1067, allocations: 11.94 kB / 388.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1067, allocations: 4 kB / 388.2 MB, free: 5.875 MB / 350.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.755e-05/0.1068, allocations: 117.8 kB / 388.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1068, allocations: 7.891 kB / 388.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.1072, allocations: 125.5 kB / 388.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1072, allocations: 0 / 388.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1072, allocations: 4 kB / 388.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1072, allocations: 0 / 388.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1073, allocations: 117.3 kB / 388.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1073, allocations: 0 / 388.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1074, allocations: 11.98 kB / 388.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1074, allocations: 3.938 kB / 388.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1074, allocations: 4 kB / 388.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1074, allocations: 4 kB / 388.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1074, allocations: 7.875 kB / 388.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1077, allocations: 145.9 kB / 388.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1078, allocations: 23.84 kB / 388.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1078, allocations: 0 / 388.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.1078, allocations: 11.98 kB / 388.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1079, allocations: 0 / 388.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1079, allocations: 7.984 kB / 388.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.108, allocations: 87.28 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.108, allocations: 0 / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.1084, allocations: 139.6 kB / 389 MB, free: 5.004 MB / 350.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 (7): * Single equations (assignments): 6 * 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.000569/0.109, allocations: 290.2 kB / 389.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1092, allocations: 44.69 kB / 389.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1092, allocations: 0 / 389.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.1093, allocations: 23.98 kB / 389.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1095, allocations: 12 kB / 389.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.11, allocations: 287.1 kB / 389.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.11, allocations: 75.33 kB / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.625e-05/0.1101, allocations: 31.78 kB / 389.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.1102, allocations: 20.5 kB / 389.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1102, allocations: 0 / 389.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of Templates: time 0.00736/0.1175, allocations: 3.088 MB / 392.9 MB, free: 1.133 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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: 4.392227774020284]