Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00172/0.00172, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002308/0.002308, allocations: 217 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 59.92 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2902, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002984/0.2932, allocations: 2.138 MB / 399 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2944, allocations: 0.7271 MB / 399.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2944, allocations: 0 / 399.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.2945, allocations: 7.375 kB / 399.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2946, allocations: 11.27 kB / 399.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.2953, allocations: 212.3 kB / 399.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.2953, allocations: 16.83 kB / 399.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.2954, allocations: 5.906 kB / 399.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.2954, allocations: 14.3 kB / 400 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.2955, allocations: 16.55 kB / 400 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2955, allocations: 1.469 kB / 400 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.2959, allocations: 165.9 kB / 400.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2959, allocations: 7.141 kB / 400.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.2959, allocations: 15.3 kB / 400.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2962, allocations: 123.5 kB / 400.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2962, allocations: 1.062 kB / 400.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2962, allocations: 0 / 400.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2962, allocations: 0 / 400.3 MB, free: 7.223 MB / 318.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.0003333/0.2965, allocations: 278.5 kB / 400.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2966, allocations: 12.95 kB / 400.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2966, allocations: 6.594 kB / 400.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2967, allocations: 115.7 kB / 400.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2967, allocations: 5.078 kB / 400.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2967, allocations: 1.469 kB / 400.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2968, allocations: 70.08 kB / 400.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2968, allocations: 4.5 kB / 400.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2968, allocations: 1.062 kB / 400.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2968, allocations: 0 / 400.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.2969, allocations: 4.297 kB / 400.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.2971, allocations: 345.7 kB / 401.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.2972, allocations: 171.3 kB / 401.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.2972, allocations: 85.81 kB / 401.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.2972, allocations: 75.28 kB / 401.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2972, allocations: 112.8 kB / 401.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2972, allocations: 4 kB / 401.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.931e-05/0.2973, allocations: 35.61 kB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2973, allocations: 154.2 kB / 401.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2974, allocations: 116.9 kB / 401.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.2974, allocations: 26.83 kB / 401.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.2975, allocations: 82.66 kB / 401.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.2975, allocations: 5.125 kB / 402 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2975, allocations: 15.2 kB / 402 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.2976, allocations: 313.9 kB / 402.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.2976, allocations: 6.859 kB / 402.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.2976, allocations: 38.88 kB / 402.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.2976, allocations: 8.031 kB / 402.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2976, allocations: 0 / 402.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.2977, allocations: 45.09 kB / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2977, allocations: 4.594 kB / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2977, allocations: 1.672 kB / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2978, allocations: 0 / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.2978, allocations: 6.859 kB / 402.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2978, allocations: 0 / 402.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.2979, allocations: 9.625 kB / 402.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2979, allocations: 1.844 kB / 402.4 MB, free: 5.055 MB / 318.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 5.936e-05/0.2979, allocations: 192.4 kB / 402.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.298, allocations: 104.3 kB / 402.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.298, allocations: 107.8 kB / 402.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.298, allocations: 185.8 kB / 403 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/0.2981, allocations: 178.9 kB / 403.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.2981, allocations: 186 kB / 403.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2982, allocations: 361.1 kB / 403.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.2982, allocations: 106.6 kB / 403.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.2982, allocations: 115 kB / 403.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-05/0.2983, allocations: 178 kB / 404.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.2983, allocations: 182.2 kB / 404.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/0.2983, allocations: 179.3 kB / 404.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.612e-05/0.2983, allocations: 182 kB / 404.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.2984, allocations: 306.9 kB / 404.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.2984, allocations: 119.8 kB / 405 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2985, allocations: 184 kB / 405.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.2985, allocations: 103 kB / 405.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.2986, allocations: 182.6 kB / 405.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2986, allocations: 103.2 kB / 405.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.038e-05/0.2986, allocations: 94.98 kB / 405.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2986, allocations: 1.125 kB / 405.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.2989, allocations: 42.77 kB / 405.7 MB, free: 1.637 MB / 318.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.0005374/0.2995, allocations: 260.9 kB / 406 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.2996, allocations: 13.39 kB / 406 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2996, allocations: 0 / 406 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2996, allocations: 1.188 kB / 406 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2999, allocations: 462.6 kB / 406.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.3, allocations: 174.5 kB / 406.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.3001, allocations: 62.48 kB / 406.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.3001, allocations: 14.81 kB / 406.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.3001, allocations: 9.672 kB / 406.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3001, allocations: 0 / 406.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of Templates: time 0.004168/0.3043, allocations: 1.133 MB / 407.8 MB, free: 0.5391 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.509091159328818]