Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 84.3 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 168.9 kB / 25.6 MB, free: 8.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8953/0.8953, allocations: 158.6 MB / 187.5 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.816e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001638/0.001656, allocations: 1.394 MB / 252.9 MB, free: 5.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2481/0.2497, allocations: 140.9 MB / 393.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2498, allocations: 0 / 393.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.2498, allocations: 11.22 kB / 393.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009272/0.2508, allocations: 366.7 kB / 394.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.252, allocations: 0.8161 MB / 395 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2521, allocations: 84.31 kB / 395 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.2522, allocations: 0 / 395 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.2522, allocations: 49.97 kB / 395.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.2523, allocations: 34.67 kB / 395.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2523, allocations: 2 kB / 395.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.2536, allocations: 1.196 MB / 396.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.2537, allocations: 17.03 kB / 396.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.2537, allocations: 15.86 kB / 396.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2547, allocations: 0.942 MB / 397.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2547, allocations: 0 / 397.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2547, allocations: 0 / 397.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2547, allocations: 6.219 kB / 397.3 MB, free: 10.18 MB / 330.7 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.0004703/0.2552, allocations: 0.5002 MB / 397.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2552, allocations: 12.14 kB / 397.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.2554, allocations: 44.12 kB / 397.9 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.2555, allocations: 134.5 kB / 398 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2555, allocations: 1 kB / 398 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2555, allocations: 3.25 kB / 398 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.2556, allocations: 76.12 kB / 398.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2556, allocations: 7 kB / 398.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.2556, allocations: 2.625 kB / 398.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2556, allocations: 4 kB / 398.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.2556, allocations: 11.95 kB / 398.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.224e-05/0.2557, allocations: 116.3 kB / 398.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.2559, allocations: 88.12 kB / 398.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.2559, allocations: 28.22 kB / 398.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.2561, allocations: 56.22 kB / 398.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.2561, allocations: 33.39 kB / 398.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2561, allocations: 2.781 kB / 398.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001474/0.2562, allocations: 69.56 kB / 398.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.2563, allocations: 92.22 kB / 398.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.2563, allocations: 182.6 kB / 398.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.2563, allocations: 25.7 kB / 398.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.2563, allocations: 140.4 kB / 398.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.2564, allocations: 21.83 kB / 398.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.2564, allocations: 33.52 kB / 399 MB, free: 8.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.2564, allocations: 0.4913 MB / 399.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.2564, allocations: 2.281 kB / 399.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.2565, allocations: 46.25 kB / 399.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.2565, allocations: 56.11 kB / 399.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2565, allocations: 3.188 kB / 399.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.205e-05/0.2566, allocations: 64.84 kB / 399.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2566, allocations: 9.562 kB / 399.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2566, allocations: 2.781 kB / 399.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2566, allocations: 0 / 399.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.2567, allocations: 25.48 kB / 399.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.2567, allocations: 0 / 399.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.2567, allocations: 13.95 kB / 399.7 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2567, allocations: 2.656 kB / 399.7 MB, free: 7.965 MB / 330.7 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 3.774e-05/0.2567, allocations: 158.8 kB / 399.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.2568, allocations: 13.38 kB / 399.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.2569, allocations: 82.84 kB / 399.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2569, allocations: 4 kB / 399.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2569, allocations: 6.312 kB / 399.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2569, allocations: 3.984 kB / 399.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.2569, allocations: 111.8 kB / 400.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2569, allocations: 0 / 400.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.257, allocations: 12.36 kB / 400.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.257, allocations: 8.281 kB / 400.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.257, allocations: 0 / 400.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.257, allocations: 2.875 kB / 400.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.257, allocations: 3.938 kB / 400.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2571, allocations: 131 kB / 400.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.2571, allocations: 10.72 kB / 400.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.2571, allocations: 0 / 400.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.2572, allocations: 2.719 kB / 400.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.2572, allocations: 10.89 kB / 400.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2572, allocations: 6.844 kB / 400.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.2572, allocations: 138.6 kB / 400.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2572, allocations: 0 / 400.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.2576, allocations: 206.8 kB / 400.6 MB, free: 7.309 MB / 330.7 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.0007519/0.2583, allocations: 0.55 MB / 401.1 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.2584, allocations: 39.16 kB / 401.2 MB, free: 7.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2584, allocations: 2.719 kB / 401.2 MB, free: 7.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.2585, allocations: 17.41 kB / 401.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.2586, allocations: 37.77 kB / 401.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.2591, allocations: 265.2 kB / 401.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.895e-05/0.2591, allocations: 66.88 kB / 401.5 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.2592, allocations: 10.03 kB / 401.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.2592, allocations: 95.41 kB / 401.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2592, allocations: 0 / 401.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Templates: time 0.007578/0.2668, allocations: 8.192 MB / 409.8 MB, free: 2.234 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1311813690699637]