Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001342/0.001342, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001449/0.001449, allocations: 204.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002549/0.2655, allocations: 1.37 MB / 433.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4074/0.6729, allocations: 130.9 MB / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.6729, allocations: 0 / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.6729, allocations: 7.031 kB / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.6741, allocations: 380.1 kB / 0.5517 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6752, allocations: 0.5216 MB / 0.5522 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.6753, allocations: 73.61 kB / 0.5523 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.6753, allocations: 3.594 kB / 0.5523 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.6754, allocations: 38.95 kB / 0.5524 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.6755, allocations: 32.78 kB / 0.5524 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.6755, allocations: 2.375 kB / 0.5524 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.677, allocations: 0.9607 MB / 0.5533 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.6771, allocations: 15.23 kB / 0.5533 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.6771, allocations: 25 kB / 0.5534 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.6781, allocations: 0.6712 MB / 0.554 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6781, allocations: 0 / 0.554 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6781, allocations: 0 / 0.554 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.6781, allocations: 0 / 0.554 GB, free: 15.86 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.0006259/0.6787, allocations: 384.3 kB / 0.5544 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.6787, allocations: 11.97 kB / 0.5544 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.6792, allocations: 70.67 kB / 0.5545 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.6793, allocations: 142.1 kB / 0.5546 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6794, allocations: 5.312 kB / 0.5546 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.6794, allocations: 5.375 kB / 0.5546 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.6795, allocations: 77.36 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6796, allocations: 0 / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.6796, allocations: 1.375 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6796, allocations: 1.375 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.6797, allocations: 43.47 kB / 0.5547 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.6798, allocations: 138.6 kB / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.6801, allocations: 115.8 kB / 0.555 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.6802, allocations: 35.94 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.6807, allocations: 65.62 kB / 0.5551 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6807, allocations: 40.27 kB / 0.5551 GB, free: 15.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6807, allocations: 0 / 0.5551 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003442/0.681, allocations: 120.8 kB / 0.5552 GB, free: 15.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6811, allocations: 82.83 kB / 0.5553 GB, free: 14.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.6812, allocations: 142.7 kB / 0.5554 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6812, allocations: 25.7 kB / 0.5555 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.6813, allocations: 86.2 kB / 0.5555 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.6813, allocations: 23.08 kB / 0.5556 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.6814, allocations: 24.03 kB / 0.5556 GB, free: 14.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6815, allocations: 320.1 kB / 0.5559 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.6816, allocations: 23.31 kB / 0.5559 GB, free: 14.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.6817, allocations: 50.2 kB / 0.556 GB, free: 14.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6818, allocations: 87.22 kB / 0.556 GB, free: 14.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6818, allocations: 1.969 kB / 0.556 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.682, allocations: 110.7 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.682, allocations: 4.938 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.682, allocations: 9.594 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6821, allocations: 1.203 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.6821, allocations: 21.14 kB / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.6821, allocations: 0 / 0.5562 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.6822, allocations: 10.98 kB / 0.5562 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.6822, allocations: 2.625 kB / 0.5562 GB, free: 14.28 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 8.892e-05/0.6823, allocations: 117.4 kB / 0.5563 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.6823, allocations: 9.875 kB / 0.5563 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.6826, allocations: 114.5 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6826, allocations: 2.281 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6826, allocations: 0.5625 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6826, allocations: 2.531 kB / 0.5564 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.6827, allocations: 133.8 kB / 0.5566 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6827, allocations: 4 kB / 0.5566 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.6828, allocations: 17.19 kB / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6828, allocations: 0 / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.6828, allocations: 0 / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6828, allocations: 3.469 kB / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6828, allocations: 3 kB / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.6831, allocations: 161.5 kB / 0.5567 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.6832, allocations: 18.83 kB / 0.5568 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.6832, allocations: 7.375 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.6832, allocations: 3.344 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.6833, allocations: 8.438 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6833, allocations: 3.062 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.6833, allocations: 112.6 kB / 0.5569 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6833, allocations: 0 / 0.5569 GB, free: 13.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006466/0.684, allocations: 166.1 kB / 0.5571 GB, free: 13.79 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 (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.000865/0.6849, allocations: 407.8 kB / 0.5574 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.6851, allocations: 65.03 kB / 0.5575 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6851, allocations: 5.219 kB / 0.5575 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.6851, allocations: 32.89 kB / 0.5575 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.6854, allocations: 31.78 kB / 0.5576 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.686, allocations: 345.4 kB / 0.5579 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.898e-05/0.686, allocations: 71.72 kB / 0.558 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.6861, allocations: 22.56 kB / 0.558 GB, free: 13.29 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6861, allocations: 3.938 kB / 0.558 GB, free: 13.28 MB / 462.1 MB Notification: Performance of Templates: time 0.006136/0.6922, allocations: 4.079 MB / 0.562 GB, free: 12.79 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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: 8.69899455999257]