Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.001641/0.001641, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002186/0.002186, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 50.98 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09369, allocations: 53.33 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001666/0.09535, allocations: 0.5033 MB / 379.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.09735, allocations: 1.411 MB / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.09737, allocations: 0 / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.09739, allocations: 0 / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.09741, allocations: 0 / 380.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.09808, allocations: 191.3 kB / 381 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.09813, allocations: 15.98 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.09817, allocations: 0 / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.09821, allocations: 19.86 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.09827, allocations: 7.984 kB / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.09828, allocations: 0 / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.09856, allocations: 159.8 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.09858, allocations: 11.92 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.0986, allocations: 3.984 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.09883, allocations: 123.7 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09884, allocations: 0 / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09884, allocations: 4 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.09885, allocations: 0 / 381.3 MB, free: 13.23 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.0003531/0.0992, allocations: 274.2 kB / 381.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.09923, allocations: 12.03 kB / 381.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.09936, allocations: 4.938 kB / 381.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.09947, allocations: 106.5 kB / 381.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.09948, allocations: 384 / 381.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.09949, allocations: 8.125 kB / 381.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.09961, allocations: 59.39 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.09962, allocations: 4 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.09963, allocations: 4 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.09963, allocations: 0 / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.09965, allocations: 3.938 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1, allocations: 355.6 kB / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.1001, allocations: 165.1 kB / 382.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1002, allocations: 80.14 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1002, allocations: 79.28 kB / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.1003, allocations: 109.8 kB / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1003, allocations: 0 / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.667e-05/0.1003, allocations: 37.62 kB / 382.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1004, allocations: 160.4 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1005, allocations: 105.8 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1005, allocations: 25.7 kB / 382.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.1006, allocations: 84.14 kB / 383 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.1006, allocations: 7.938 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1006, allocations: 13.72 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1008, allocations: 318.8 kB / 383.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.1008, allocations: 4 kB / 383.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.1008, allocations: 29.7 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.1009, allocations: 12.8 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1009, allocations: 4.094 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001092/0.101, allocations: 37.66 kB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.101, allocations: 10.81 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.101, allocations: 0 / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.101, allocations: 3.984 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.1011, allocations: 0 / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1011, allocations: 0 / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.1011, allocations: 4 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1011, allocations: 0 / 383.4 MB, free: 10.96 MB / 350.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.0001144/0.1012, allocations: 189.1 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.1013, allocations: 113 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.1014, allocations: 112.4 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/0.1015, allocations: 180.2 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.622e-05/0.1015, allocations: 176.3 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.01e-05/0.1016, allocations: 180.3 kB / 384.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1018, allocations: 364.7 kB / 384.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/0.1019, allocations: 105.1 kB / 384.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.1019, allocations: 108.9 kB / 384.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/0.102, allocations: 180.3 kB / 385.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.1021, allocations: 184.2 kB / 385.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.991e-05/0.1022, allocations: 184.5 kB / 385.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.958e-05/0.1023, allocations: 180.3 kB / 385.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1024, allocations: 311.7 kB / 385.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1025, allocations: 105 kB / 386 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.1026, allocations: 184.2 kB / 386.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1027, allocations: 104.9 kB / 386.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.1028, allocations: 184.2 kB / 386.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.1028, allocations: 101 kB / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.1029, allocations: 91.27 kB / 386.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1029, allocations: 0 / 386.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1032, allocations: 43.88 kB / 386.7 MB, free: 7.457 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.000393/0.1036, allocations: 241.2 kB / 386.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.1037, allocations: 11.98 kB / 387 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1037, allocations: 3.938 kB / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1037, allocations: 0 / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1041, allocations: 459.6 kB / 387.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.1043, allocations: 160.3 kB / 387.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.1044, allocations: 63.41 kB / 387.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1045, allocations: 11.98 kB / 387.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1045, allocations: 8.5 kB / 387.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1045, allocations: 0 / 387.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Templates: time 0.003749/0.1083, allocations: 0.9812 MB / 388.6 MB, free: 5.484 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1191291580908]