Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.001746/0.001746, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002027/0.002027, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.443/1.443, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.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_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 67.88 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09683, allocations: 53.32 MB / 427.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001687/0.09852, allocations: 0.5028 MB / 427.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1004, allocations: 1.451 MB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1005, allocations: 0 / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1005, allocations: 0 / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.1005, allocations: 3.938 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.1011, allocations: 185.9 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.1012, allocations: 12 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1012, allocations: 11.97 kB / 429.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.1012, allocations: 4 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.1013, allocations: 7.938 kB / 429.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1013, allocations: 0 / 429.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1016, allocations: 179.2 kB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1016, allocations: 4 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1016, allocations: 7.922 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1018, allocations: 127.6 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1018, allocations: 0 / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1018, allocations: 4 kB / 429.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1018, allocations: 0 / 429.6 MB, free: 1.996 MB / 350.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.0003837/0.1022, allocations: 347.3 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1022, allocations: 8.031 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1024, allocations: 12.92 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1025, allocations: 164.3 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1025, allocations: 4.375 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1025, allocations: 4.125 kB / 430.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1027, allocations: 41.69 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1027, allocations: 0 / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1027, allocations: 0 / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1027, allocations: 0 / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.1027, allocations: 4 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1032, allocations: 473 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1033, allocations: 177.1 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.1033, allocations: 84.14 kB / 430.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1033, allocations: 75.28 kB / 431 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.1034, allocations: 105.8 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1034, allocations: 0 / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.702e-05/0.1035, allocations: 37.59 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.1036, allocations: 156.4 kB / 431.3 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1037, allocations: 109.8 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1037, allocations: 25.7 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.1038, allocations: 84.14 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1038, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1038, allocations: 21.64 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.104, allocations: 318.8 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.104, allocations: 4 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.104, allocations: 4 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.104, allocations: 12.8 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.104, allocations: 0 / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.1041, allocations: 45.58 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1041, allocations: 4 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1041, allocations: 0 / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1041, allocations: 4 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.1042, allocations: 0 / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.1042, allocations: 0 / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.1042, allocations: 8.125 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1042, allocations: 4 kB / 431.9 MB, free: 15.45 MB / 366.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.0001084/0.1043, allocations: 185.1 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.1044, allocations: 113 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.1045, allocations: 108.5 kB / 432.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.1046, allocations: 176.3 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.939e-05/0.1046, allocations: 196.2 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.1047, allocations: 176.3 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.105, allocations: 409.4 kB / 433.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.105, allocations: 108.9 kB / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.1051, allocations: 105 kB / 433.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-05/0.1051, allocations: 180.2 kB / 433.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.1052, allocations: 188.3 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.889e-05/0.1053, allocations: 176.3 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.398e-05/0.1054, allocations: 180.2 kB / 434.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.1055, allocations: 311.7 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.1056, allocations: 186.1 kB / 434.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.1057, allocations: 180.2 kB / 434.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1058, allocations: 108.9 kB / 434.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.1059, allocations: 176.3 kB / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.1059, allocations: 108.9 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.106, allocations: 87.27 kB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.106, allocations: 4 kB / 435.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1063, allocations: 35.94 kB / 435.3 MB, free: 11.8 MB / 366.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.0004306/0.1067, allocations: 261 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.47e-05/0.1068, allocations: 8 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1068, allocations: 0 / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1068, allocations: 0 / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1072, allocations: 451.7 kB / 436 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.1074, allocations: 168.2 kB / 436.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1077, allocations: 0.669 MB / 436.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.1077, allocations: 19.97 kB / 436.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.1078, allocations: 7.438 kB / 436.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1078, allocations: 4 kB / 436.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Templates: time 0.00345/0.1112, allocations: 0.9567 MB / 437.9 MB, free: 9.215 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.2653591157868505]