Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.4 MB / 251.1 MB, free: 8.496 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.83 kB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2941, allocations: 53.32 MB / 422.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002744/0.2968, allocations: 1.365 MB / 423.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3849/0.6817, allocations: 152 MB / 0.5622 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.6817, allocations: 2.844 kB / 0.5622 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.6818, allocations: 2.578 kB / 0.5622 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.6824, allocations: 246.5 kB / 0.5624 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.6832, allocations: 391 kB / 0.5628 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.6833, allocations: 57.72 kB / 0.5628 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.6833, allocations: 11.83 kB / 0.5629 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.6833, allocations: 19.61 kB / 0.5629 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.6834, allocations: 24.39 kB / 0.5629 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.6834, allocations: 2.688 kB / 0.5629 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.6844, allocations: 0.6985 MB / 0.5636 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.6844, allocations: 10.98 kB / 0.5636 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.6844, allocations: 20.62 kB / 0.5636 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.685, allocations: 0.4937 MB / 0.5641 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.685, allocations: 0 / 0.5641 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.685, allocations: 0 / 0.5641 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.685, allocations: 1.203 kB / 0.5641 GB, free: 0.8945 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.0006248/0.6856, allocations: 441.6 kB / 0.5645 GB, free: 16.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.6856, allocations: 11.95 kB / 0.5645 GB, free: 16.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.687, allocations: 107.8 kB / 0.5646 GB, free: 16.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.6873, allocations: 223.7 kB / 0.5648 GB, free: 16.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6873, allocations: 3.375 kB / 0.5648 GB, free: 16.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.6873, allocations: 0 / 0.5648 GB, free: 16.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.6875, allocations: 93.58 kB / 0.5649 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6875, allocations: 3.188 kB / 0.5649 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6876, allocations: 0 / 0.5649 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6876, allocations: 8.719 kB / 0.5649 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.6877, allocations: 40.28 kB / 0.565 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.688, allocations: 212.4 kB / 0.5652 GB, free: 16.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.6884, allocations: 125.8 kB / 0.5653 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.6885, allocations: 38.39 kB / 0.5653 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.6893, allocations: 0.9915 MB / 0.5663 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.6893, allocations: 33.66 kB / 0.5663 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.6893, allocations: 0 / 0.5663 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004685/0.6898, allocations: 133.1 kB / 0.5665 GB, free: 14.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.6898, allocations: 84.36 kB / 0.5666 GB, free: 14.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.69, allocations: 153.2 kB / 0.5667 GB, free: 14.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.6901, allocations: 25.7 kB / 0.5667 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.6901, allocations: 87 kB / 0.5668 GB, free: 14.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.6901, allocations: 25.8 kB / 0.5668 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.6902, allocations: 26.19 kB / 0.5669 GB, free: 14.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6903, allocations: 320.8 kB / 0.5672 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.6904, allocations: 33.44 kB / 0.5672 GB, free: 14.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.6905, allocations: 53.3 kB / 0.5672 GB, free: 14.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.6907, allocations: 83.88 kB / 0.5673 GB, free: 14.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.6907, allocations: 4 kB / 0.5673 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003108/0.691, allocations: 120.8 kB / 0.5674 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.691, allocations: 7.875 kB / 0.5674 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.691, allocations: 3.188 kB / 0.5675 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6911, allocations: 3.078 kB / 0.5675 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.6912, allocations: 29.48 kB / 0.5675 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6912, allocations: 0 / 0.5675 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.6914, allocations: 6.031 kB / 0.5675 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6914, allocations: 11.66 kB / 0.5675 GB, free: 13.98 MB / 478.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.455e-05/0.6915, allocations: 122.2 kB / 0.5676 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.6916, allocations: 7.328 kB / 0.5676 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.6921, allocations: 239.7 kB / 0.5679 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6921, allocations: 2.891 kB / 0.5679 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6921, allocations: 0 / 0.5679 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6921, allocations: 5.125 kB / 0.5679 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.6923, allocations: 220.1 kB / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.6923, allocations: 0 / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.6925, allocations: 28.2 kB / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6925, allocations: 6.547 kB / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6925, allocations: 0 / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6925, allocations: 5.562 kB / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6925, allocations: 0 / 0.5681 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6928, allocations: 174.4 kB / 0.5683 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.6929, allocations: 93.47 kB / 0.5684 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.693, allocations: 4.281 kB / 0.5684 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6932, allocations: 5.344 kB / 0.5684 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6932, allocations: 12.91 kB / 0.5684 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6932, allocations: 8.312 kB / 0.5684 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.6934, allocations: 128 kB / 0.5685 GB, free: 13.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6934, allocations: 0 / 0.5685 GB, free: 13.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.6938, allocations: 133.3 kB / 0.5686 GB, free: 13.33 MB / 478.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.0006156/0.6944, allocations: 325.7 kB / 0.569 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.6947, allocations: 79.69 kB / 0.569 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6947, allocations: 0 / 0.569 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.6948, allocations: 40.47 kB / 0.5691 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.695, allocations: 23.55 kB / 0.5691 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.6955, allocations: 297.9 kB / 0.5694 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6958, allocations: 0.6914 MB / 0.57 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.6963, allocations: 434.6 kB / 0.5705 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.6964, allocations: 42.55 kB / 0.5705 GB, free: 12.21 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6964, allocations: 0 / 0.5705 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Templates: time 0.008263/0.7046, allocations: 5.251 MB / 0.5756 GB, free: 11.67 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches