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.001791/0.001791, allocations: 114.9 kB / 17.73 MB, free: 5.316 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.002049/0.002049, allocations: 185.3 kB / 20.67 MB, free: 2.383 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.414/1.414, allocations: 222.9 MB / 246.4 MB, free: 4.227 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.001512/0.001512, allocations: 51.92 kB / 358 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09476, allocations: 49.43 MB / 407.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001553/0.09635, allocations: 0.5021 MB / 407.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.09822, allocations: 1.383 MB / 409.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.09826, allocations: 0 / 409.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.09829, allocations: 3.938 kB / 409.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.09833, allocations: 0 / 409.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.09893, allocations: 170.4 kB / 409.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.09899, allocations: 19.92 kB / 409.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.09903, allocations: 8 kB / 409.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.09908, allocations: 15.86 kB / 409.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.09914, allocations: 11.98 kB / 409.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.09916, allocations: 0 / 409.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.09945, allocations: 159.8 kB / 409.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.09947, allocations: 8 kB / 409.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.0995, allocations: 7.922 kB / 409.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.09973, allocations: 115.7 kB / 409.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09974, allocations: 0 / 409.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09975, allocations: 0 / 409.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.09977, allocations: 4 kB / 409.8 MB, free: 4.484 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.0004037/0.1002, allocations: 351.3 kB / 410.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1002, allocations: 12.03 kB / 410.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1003, allocations: 4.891 kB / 410.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1004, allocations: 160.4 kB / 410.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1004, allocations: 4.312 kB / 410.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1005, allocations: 8.125 kB / 410.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1006, allocations: 33.69 kB / 410.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1006, allocations: 0 / 410.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1006, allocations: 4 kB / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1006, allocations: 0 / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.042e-05/0.1006, allocations: 4 kB / 410.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1011, allocations: 469 kB / 410.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1012, allocations: 181.1 kB / 411 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.1013, allocations: 84.14 kB / 411.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1013, allocations: 79.27 kB / 411.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/0.1014, allocations: 105.8 kB / 411.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 4.679e-06/0.1014, allocations: 0 / 411.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.676e-05/0.1015, allocations: 33.64 kB / 411.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1016, allocations: 160.3 kB / 411.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1017, allocations: 109.8 kB / 411.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1018, allocations: 25.7 kB / 411.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1018, allocations: 96.02 kB / 411.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1018, allocations: 0 / 411.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1019, allocations: 17.72 kB / 411.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.102, allocations: 318.8 kB / 412 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.102, allocations: 4 kB / 412 MB, free: 2.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.1021, allocations: 0 / 412 MB, free: 2.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.1021, allocations: 16.95 kB / 412 MB, free: 2.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1021, allocations: 256 / 412 MB, free: 2.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.1022, allocations: 41.62 kB / 412.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1022, allocations: 4 kB / 412.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1022, allocations: 4 kB / 412.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1023, allocations: 3.938 kB / 412.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.1023, allocations: 4 kB / 412.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1023, allocations: 0 / 412.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.1024, allocations: 0 / 412.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1024, allocations: 8.031 kB / 412.1 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.0001162/0.1025, allocations: 185.1 kB / 412.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.1026, allocations: 108.9 kB / 412.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.1027, allocations: 116.4 kB / 412.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/0.1027, allocations: 176.3 kB / 412.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.199e-05/0.1028, allocations: 180.3 kB / 412.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-05/0.1029, allocations: 184.2 kB / 413 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1032, allocations: 409.3 kB / 413.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/0.1032, allocations: 112.9 kB / 413.5 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.1033, allocations: 101 kB / 413.6 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.89e-05/0.1034, allocations: 176.3 kB / 413.8 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.1035, allocations: 188.2 kB / 414 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.757e-05/0.1036, allocations: 180.3 kB / 414.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/0.1036, allocations: 180.2 kB / 414.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1038, allocations: 315.7 kB / 414.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1039, allocations: 178.1 kB / 414.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.104, allocations: 184.3 kB / 415 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1041, allocations: 112.8 kB / 415.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.1042, allocations: 176.3 kB / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.1043, allocations: 108.9 kB / 415.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.1043, allocations: 83.28 kB / 415.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1043, allocations: 0 / 415.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1046, allocations: 47.92 kB / 415.5 MB, free: 14.28 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.0004171/0.1051, allocations: 258.7 kB / 415.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.1051, allocations: 4 kB / 415.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1052, allocations: 0 / 415.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1052, allocations: 4.062 kB / 415.8 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.0003726/0.1055, allocations: 459.7 kB / 416.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.1058, allocations: 164.2 kB / 416.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1061, allocations: 0.6766 MB / 417.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.382e-05/0.1062, allocations: 15.98 kB / 417.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.1062, allocations: 7.438 kB / 417.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1062, allocations: 4 kB / 417.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003467/0.1097, allocations: 0.9118 MB / 418 MB, free: 11.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.258867816068232]