Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 116.9 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 190.9 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 358.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 49.43 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001677/0.1105, allocations: 0.5059 MB / 408.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1125, allocations: 1.379 MB / 410 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.1125, allocations: 0 / 410 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.1126, allocations: 4 kB / 410 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.1126, allocations: 0 / 410 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.1133, allocations: 179.2 kB / 410.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.1133, allocations: 8 kB / 410.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1134, allocations: 15.98 kB / 410.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.1134, allocations: 19.86 kB / 410.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.1135, allocations: 4 kB / 410.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1135, allocations: 4 kB / 410.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.1138, allocations: 159.8 kB / 410.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1138, allocations: 0 / 410.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1139, allocations: 11.94 kB / 410.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1141, allocations: 123.6 kB / 410.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1141, allocations: 0 / 410.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1142, allocations: 0 / 410.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1142, allocations: 0 / 410.5 MB, free: 4.477 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004445/0.1146, allocations: 351.3 kB / 410.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1147, allocations: 8.031 kB / 410.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1147, allocations: 8.891 kB / 410.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1149, allocations: 164.4 kB / 411 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1149, allocations: 384 / 411 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1149, allocations: 4.125 kB / 411 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.115, allocations: 37.69 kB / 411 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.115, allocations: 0 / 411 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.115, allocations: 0 / 411 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.115, allocations: 4 kB / 411 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.1151, allocations: 7.938 kB / 411.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.1156, allocations: 473 kB / 411.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1157, allocations: 177.2 kB / 411.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.1158, allocations: 80.14 kB / 411.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1158, allocations: 83.28 kB / 411.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.1159, allocations: 105.8 kB / 412 MB, free: 2.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 3.156e-06/0.1159, allocations: 0 / 412 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.646e-05/0.116, allocations: 29.64 kB / 412 MB, free: 2.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.1161, allocations: 156.3 kB / 412.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1162, allocations: 113.8 kB / 412.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1162, allocations: 25.7 kB / 412.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.1163, allocations: 96.02 kB / 412.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.1163, allocations: 3.984 kB / 412.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1164, allocations: 17.72 kB / 412.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1165, allocations: 318.8 kB / 412.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1165, allocations: 0 / 412.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.1166, allocations: 7.984 kB / 412.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.1166, allocations: 12.8 kB / 412.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1166, allocations: 4.094 kB / 412.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.1167, allocations: 37.7 kB / 412.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1168, allocations: 4 kB / 412.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1168, allocations: 0 / 412.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1168, allocations: 0 / 412.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.1168, allocations: 4 kB / 412.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1169, allocations: 0 / 412.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.1169, allocations: 0 / 412.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1169, allocations: 3.984 kB / 412.8 MB, free: 1.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 0.0001371/0.1171, allocations: 193.1 kB / 413 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.1172, allocations: 112.8 kB / 413.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.1172, allocations: 108.5 kB / 413.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-05/0.1173, allocations: 180.3 kB / 413.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.479e-05/0.1174, allocations: 184.2 kB / 413.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.039e-05/0.1175, allocations: 176.3 kB / 413.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1178, allocations: 417.2 kB / 414.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/0.1179, allocations: 105 kB / 414.2 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.1179, allocations: 105 kB / 414.3 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/0.118, allocations: 180.2 kB / 414.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.1181, allocations: 180.2 kB / 414.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-05/0.1182, allocations: 184.5 kB / 414.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.119e-05/0.1183, allocations: 188.3 kB / 415 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1185, allocations: 307.7 kB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1186, allocations: 182.1 kB / 415.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1187, allocations: 184.2 kB / 415.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1188, allocations: 109 kB / 415.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.1189, allocations: 184.1 kB / 416 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.119, allocations: 101 kB / 416.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.1191, allocations: 91.27 kB / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1191, allocations: 0 / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1194, allocations: 35.94 kB / 416.2 MB, free: 14.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004822/0.1199, allocations: 264.6 kB / 416.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.887e-05/0.12, allocations: 4 kB / 416.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.12, allocations: 0 / 416.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-06/0.12, allocations: 3.938 kB / 416.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1204, allocations: 463.7 kB / 416.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.1206, allocations: 186 kB / 417.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.121, allocations: 0.6805 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.121, allocations: 11.44 kB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.121, allocations: 0 / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Templates: time 0.003079/0.1241, allocations: 0.9681 MB / 418.8 MB, free: 11.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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: 7.175287775113247]