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.001673/0.001673, 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.002005/0.002005, allocations: 161.3 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.435/1.435, allocations: 177.1 MB / 204.7 MB, free: 8.992 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.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.002882/0.002882, allocations: 62.83 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1395, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003978/0.1434, allocations: 1.353 MB / 380.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3765/0.5199, allocations: 130.6 MB / 0.4989 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.52, allocations: 0 / 0.4989 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.52, allocations: 6.375 kB / 0.4989 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.5209, allocations: 235.9 kB / 0.4991 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.5218, allocations: 408.9 kB / 0.4995 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.5219, allocations: 57.94 kB / 0.4996 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.5219, allocations: 10.58 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.522, allocations: 28.09 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.5221, allocations: 26.2 kB / 0.4997 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.5221, allocations: 4.922 kB / 0.4997 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009263/0.523, allocations: 0.5621 MB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.523, allocations: 9.422 kB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.523, allocations: 23.02 kB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.5237, allocations: 479.2 kB / 0.5007 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5237, allocations: 0 / 0.5007 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5237, allocations: 1.203 kB / 0.5007 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5237, allocations: 6.844 kB / 0.5007 GB, free: 14.8 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.0005309/0.5242, allocations: 356.9 kB / 0.501 GB, free: 14.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5242, allocations: 13.98 kB / 0.5011 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5255, allocations: 112.3 kB / 0.5012 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.5258, allocations: 163.9 kB / 0.5013 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5258, allocations: 4 kB / 0.5013 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.5259, allocations: 2.812 kB / 0.5013 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.5261, allocations: 92 kB / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5261, allocations: 9.875 kB / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5261, allocations: 0 / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.5262, allocations: 1.203 kB / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.5263, allocations: 47.17 kB / 0.5015 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.5266, allocations: 145 kB / 0.5016 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.5271, allocations: 128.6 kB / 0.5017 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5272, allocations: 41.34 kB / 0.5018 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.5274, allocations: 90.42 kB / 0.5019 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5274, allocations: 36.52 kB / 0.5019 GB, free: 14.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5274, allocations: 0 / 0.5019 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004592/0.5279, allocations: 135.2 kB / 0.502 GB, free: 14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.528, allocations: 78.98 kB / 0.5021 GB, free: 13.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.5282, allocations: 158.9 kB / 0.5022 GB, free: 13.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5282, allocations: 32.36 kB / 0.5023 GB, free: 13.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.5282, allocations: 85.39 kB / 0.5024 GB, free: 13.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.5283, allocations: 20.36 kB / 0.5024 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.5283, allocations: 35.06 kB / 0.5024 GB, free: 13.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5285, allocations: 316.9 kB / 0.5027 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.5286, allocations: 23.48 kB / 0.5027 GB, free: 13.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5287, allocations: 50.81 kB / 0.5028 GB, free: 13.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.5289, allocations: 91.2 kB / 0.5029 GB, free: 13.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5289, allocations: 3.938 kB / 0.5029 GB, free: 13.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003223/0.5292, allocations: 119.1 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5292, allocations: 8.859 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5293, allocations: 0 / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5293, allocations: 0 / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.5294, allocations: 28.78 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5294, allocations: 8.812 kB / 0.503 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.5296, allocations: 12.78 kB / 0.503 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5296, allocations: 7.859 kB / 0.5031 GB, free: 13.23 MB / 446.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.408e-05/0.5297, allocations: 115.8 kB / 0.5032 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.5297, allocations: 8.391 kB / 0.5032 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.5303, allocations: 245 kB / 0.5034 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5303, allocations: 9.375 kB / 0.5034 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5303, allocations: 2.781 kB / 0.5034 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5303, allocations: 0 / 0.5034 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.5305, allocations: 164 kB / 0.5036 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5305, allocations: 0 / 0.5036 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.5307, allocations: 25.34 kB / 0.5036 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5307, allocations: 1.625 kB / 0.5036 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5307, allocations: 4.75 kB / 0.5036 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5307, allocations: 2.25 kB / 0.5036 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5307, allocations: 2.875 kB / 0.5036 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.5311, allocations: 179.5 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.5311, allocations: 21.12 kB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.5312, allocations: 6.438 kB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5313, allocations: 2.234 kB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.5314, allocations: 13.3 kB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5314, allocations: 4.844 kB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.5316, allocations: 128.2 kB / 0.5039 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5316, allocations: 0 / 0.5039 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.5321, allocations: 135.5 kB / 0.5041 GB, free: 12.72 MB / 446.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.0005727/0.5326, allocations: 308.1 kB / 0.5044 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.5329, allocations: 80.11 kB / 0.5044 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5329, allocations: 0 / 0.5044 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.533, allocations: 39.25 kB / 0.5045 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.5332, allocations: 15.03 kB / 0.5045 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.5338, allocations: 302 kB / 0.5048 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.663e-05/0.5339, allocations: 71.95 kB / 0.5049 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.5343, allocations: 431.5 kB / 0.5053 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.5345, allocations: 43.38 kB / 0.5053 GB, free: 12.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5345, allocations: 0 / 0.5053 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Templates: time 0.009325/0.5438, allocations: 5.474 MB / 0.5107 GB, free: 10.09 MB / 446.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 -s ida -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: 4.837358073098585]